Add libz to LDADD/DPADD

This commit is contained in:
Andrey A. Chernov 2002-05-18 13:03:29 +00:00
parent a87098e61c
commit c63e8768b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59430
2 changed files with 3 additions and 3 deletions

View File

@ -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/ \

View File

@ -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")