diff options
Diffstat (limited to 'graphics/pngcrush/Makefile')
-rw-r--r-- | graphics/pngcrush/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/graphics/pngcrush/Makefile b/graphics/pngcrush/Makefile index 9573cff2fcf..1c1629a579f 100644 --- a/graphics/pngcrush/Makefile +++ b/graphics/pngcrush/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.22 2006/04/17 13:46:34 wiz Exp $ +# $NetBSD: Makefile,v 1.23 2006/04/19 17:00:12 wiz Exp $ -DISTNAME= pngcrush-1.6.2-nolib -PKGNAME= pngcrush-1.6.2 -PKGREVISION= 1 +DISTNAME= pngcrush-1.6.3-nolib +PKGNAME= pngcrush-1.6.3 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pmt/} EXTRACT_SUFX= .tar.bz2 @@ -15,8 +14,9 @@ NO_CONFIGURE= yes INSTALLATION_DIRS= bin do-build: - cd ${WRKSRC} && ${CC} ${CFLAGS} -o pngcrush pngcrush.c \ - -Wall -Wl,-R${PREFIX}/lib -L${PREFIX}/lib -lm -lz -lpng + cd ${WRKSRC} && ${CC} -DPNG_USE_LOCAL_ARRAYS \ + ${CFLAGS} `libpng-config --cflags` -o pngcrush pngcrush.c \ + `libpng-config --ldflags` do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pngcrush ${PREFIX}/bin |