From b1541aafa8e6fd4eea8b9706b1d0409fe5df40af Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Wed, 24 Dec 2014 20:02:04 +0000 Subject: Properly support png 1.5 --- graphics/tif22pnm/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'graphics/tif22pnm/Makefile') diff --git a/graphics/tif22pnm/Makefile b/graphics/tif22pnm/Makefile index 15f6638ddb0d..178e5e68e621 100644 --- a/graphics/tif22pnm/Makefile +++ b/graphics/tif22pnm/Makefile @@ -12,7 +12,7 @@ COMMENT= Converts TIFF-sampled images to PNM image LICENSE= GPLv2 -LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \ +LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff PROJECTHOST= sam2p @@ -31,8 +31,8 @@ do-build: cd ${WRKSRC} \ && ${CC} ${CFLAGS} -DNDEBUG -I${LOCALBASE}/include \ ${TIF22PNM_SRCS} -o tif22pnm -L${LOCALBASE}/lib -ltiff \ - && ${CC} ${CFLAGS} -DNDEBUG `pkg-config libpng15 --cflags` \ - ${PNG2PNM_SRCS} -o png22pnm `pkg-config libpng15 --libs` -lm + && ${CC} ${CFLAGS} -DNDEBUG `pkg-config libpng --cflags` \ + ${PNG2PNM_SRCS} -o png22pnm `pkg-config libpng --libs` -lm do-install: ${INSTALL_PROGRAM} ${WRKSRC}/png22pnm ${STAGEDIR}${PREFIX}/bin -- cgit v1.2.3