diff options
author | adam <adam@pkgsrc.org> | 2004-01-12 21:23:05 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2004-01-12 21:23:05 +0000 |
commit | 00fd4981cf8ab46253cc8b222a60b1f2098c10c0 (patch) | |
tree | 6f64b6f58188eba2729a519f74099a8639f4df3c /graphics | |
parent | 2cc84aa254527b405f512f7f071a310d4480ec19 (diff) | |
download | pkgsrc-00fd4981cf8ab46253cc8b222a60b1f2098c10c0.tar.gz |
Now links dynamically with zlib and libpng
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/pngcrush/Makefile | 9 | ||||
-rw-r--r-- | graphics/pngcrush/distinfo | 3 | ||||
-rw-r--r-- | graphics/pngcrush/patches/patch-aa | 13 |
3 files changed, 21 insertions, 4 deletions
diff --git a/graphics/pngcrush/Makefile b/graphics/pngcrush/Makefile index 514e7314b2f..728f6ece2d1 100644 --- a/graphics/pngcrush/Makefile +++ b/graphics/pngcrush/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2003/07/17 21:42:23 grant Exp $ +# $NetBSD: Makefile,v 1.15 2004/01/12 21:23:05 adam Exp $ # DISTNAME= pngcrush-1.5.10 @@ -9,14 +9,17 @@ MAINTAINER= rh@NetBSD.org HOMEPAGE= http://pmt.sourceforge.net/pngcrush/index.html COMMENT= Optimizer for PNG (Portable Network Graphics) files -NO_CONFIGURE= YES +USE_BUILDLINK2= # defined +NO_CONFIGURE= YES do-build: - cd ${WRKSRC} && ${CC} ${CFLAGS} -o pngcrush *.c -lm + cd ${WRKSRC} && ${CC} ${CFLAGS} -o pngcrush pngcrush.c \ + -Wall -Wl,-R${PREFIX}/lib -L${PREFIX}/lib -lm -lz -lpng do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pngcrush ${PREFIX}/bin ${INSTALL_DATA_DIR} ${PREFIX}/share/pngcrush ${INSTALL_MAN} ${WRKSRC}/README.txt ${PREFIX}/share/pngcrush +.include "../../graphics/png/buildlink2.mk" .include "../../mk/bsd.pkg.mk" diff --git a/graphics/pngcrush/distinfo b/graphics/pngcrush/distinfo index 0d4321672bb..7f9779f5653 100644 --- a/graphics/pngcrush/distinfo +++ b/graphics/pngcrush/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.5 2002/08/31 00:01:53 wiz Exp $ +$NetBSD: distinfo,v 1.6 2004/01/12 21:23:05 adam Exp $ SHA1 (pngcrush-1.5.10.tar.gz) = 469e41c2fdf5fefd307119643616d8d2c86e35b4 Size (pngcrush-1.5.10.tar.gz) = 313220 bytes +SHA1 (patch-aa) = f3451b97ae974df79e786faba5dc588901e21d15 diff --git a/graphics/pngcrush/patches/patch-aa b/graphics/pngcrush/patches/patch-aa new file mode 100644 index 00000000000..a1d1277726d --- /dev/null +++ b/graphics/pngcrush/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2004/01/12 21:23:05 adam Exp $ + +--- pngcrush.c.orig 2004-01-12 21:40:44.000000000 +0000 ++++ pngcrush.c +@@ -416,7 +416,7 @@ + */ + + #define PNG_INTERNAL +-#include "png.h" ++#include <png.h> + + /* we don't need the some of the extra libpng transformations + * so they are ifdef'ed out in a special version of pngconf.h, which |