summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2002-05-18 13:03:29 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2002-05-18 13:03:29 +0000
commitc63e8768b1734be577a139f893693be11734031d (patch)
tree88a0737712d4b97966c51c6f6434bcbd068b3958
parentAdd missing MD5 checksum, sigh (diff)
Add libz to LDADD/DPADD
-rw-r--r--graphics/png/Makefile2
-rw-r--r--graphics/png/files/makefile.freebsd4
2 files changed, 3 insertions, 3 deletions
diff --git a/graphics/png/Makefile b/graphics/png/Makefile
index b15d2bc4a9ce..f2b12760f2d4 100644
--- a/graphics/png/Makefile
+++ b/graphics/png/Makefile
@@ -7,7 +7,7 @@
PORTNAME= png
PORTVERSION= 1.2.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= graphics
MASTER_SITES= http://www.libpng.org/pub/png/src/ \
ftp://swrinde.nde.swri.edu/pub/png/src/ \
diff --git a/graphics/png/files/makefile.freebsd b/graphics/png/files/makefile.freebsd
index 6b2dd459d9c3..fb11ad93d813 100644
--- a/graphics/png/files/makefile.freebsd
+++ b/graphics/png/files/makefile.freebsd
@@ -22,8 +22,8 @@ MAN= libpng.3 libpngpf.3 png.5
MANDIR= /man/man
SYMLINKS= libpng/png.h ${INCSDIR}/../png.h \
libpng/pngconf.h ${INCSDIR}/../pngconf.h
-LDADD+= -lm
-DPADD+= ${LIBM}
+LDADD+= -lm -lz
+DPADD+= ${LIBM} ${LIBZ}
CFLAGS+= -I. -DPNG_USE_PNGGCCRD
.if (${ARCH} != "i386")