diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2001-04-28 16:16:07 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2001-04-28 16:16:07 +0000 |
commit | 2483852c8642b35b3b29cadbadb526290760bc11 (patch) | |
tree | 121d43594ed1ef29fb9b926a571bbd0a2e69ffb5 /graphics/libmng | |
parent | cc63125ef5a5fc12e5dc68b10a6ab46f5707b6e9 (diff) | |
download | ports-2483852c8642b35b3b29cadbadb526290760bc11.tar.gz ports-2483852c8642b35b3b29cadbadb526290760bc11.zip |
Although the port formally depended on lcms, the software was
compiling without it :( Add the explicit -D to CFLAGS. Good
noone tried to use the lcms part of the library...
Also, add library dependencies to LDADD -- -ljpeg -lz -llcms.
Notes
Notes:
svn path=/head/; revision=42008
Diffstat (limited to 'graphics/libmng')
-rw-r--r-- | graphics/libmng/Makefile | 6 | ||||
-rw-r--r-- | graphics/libmng/files/Makefile.bsd | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/graphics/libmng/Makefile b/graphics/libmng/Makefile index c80912a58faf..2f65086dabad 100644 --- a/graphics/libmng/Makefile +++ b/graphics/libmng/Makefile @@ -7,7 +7,7 @@ PORTNAME= libmng PORTVERSION= 1.0.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= http://www.3-t.com/libmng/download/ \ ${MASTER_SITE_SOURCEFORGE} \ @@ -27,6 +27,10 @@ INSTALLS_SHLIB= yes MAN3= libmng.3 MAN5= mng.5 jng.5 +post-patch: + ${PERL} -pi -e 's%lcms/lcms.h%lcms.h%' ${WRKSRC}/configure \ + ${WRKSRC}/libmng_types.h + post-install: cd ${WRKSRC}/doc/man && ${INSTALL_MAN} ${MAN3} ${PREFIX}/man/man3 \ && ${INSTALL_MAN} ${MAN5} ${PREFIX}/man/man5 diff --git a/graphics/libmng/files/Makefile.bsd b/graphics/libmng/files/Makefile.bsd index f4fc64ed7356..c4e687142635 100644 --- a/graphics/libmng/files/Makefile.bsd +++ b/graphics/libmng/files/Makefile.bsd @@ -1,5 +1,5 @@ LIB= mng -LDADD= -lm +LDADD= -lm -L${LIBDIR} -lz -llcms -ljpeg NOPROFILE= yes SHLIB_MAJOR?= 1 @@ -8,7 +8,7 @@ SHLIB_MINOR?= 0 LOBJS!= make -f ${.CURDIR}/Makefile.in -V libmng_la_OBJECTS SRCS= ${LOBJS:.lo=.c} -CFLAGS+= -I${INCDIR} +CFLAGS+= -I${INCDIR} -DMNG_FULL_CMS INCS= libmng.h libmng_conf.h libmng_types.h INCDIR= ${LOCALBASE}/include |