pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/pngcrush Now links dynamically with zlib and ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8d50245e834a
branches: trunk
changeset: 466182:8d50245e834a
user: adam <adam%pkgsrc.org@localhost>
date: Mon Jan 12 21:23:05 2004 +0000
description:
Now links dynamically with zlib and libpng
diffstat:
graphics/pngcrush/Makefile | 9 ++++++---
graphics/pngcrush/distinfo | 3 ++-
graphics/pngcrush/patches/patch-aa | 13 +++++++++++++
3 files changed, 21 insertions(+), 4 deletions(-)
diffs (56 lines):
diff -r 4610142e84f1 -r 8d50245e834a graphics/pngcrush/Makefile
--- a/graphics/pngcrush/Makefile Mon Jan 12 21:21:09 2004 +0000
+++ b/graphics/pngcrush/Makefile Mon Jan 12 21:23:05 2004 +0000
@@ -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 @@
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 -r 4610142e84f1 -r 8d50245e834a graphics/pngcrush/distinfo
--- a/graphics/pngcrush/distinfo Mon Jan 12 21:21:09 2004 +0000
+++ b/graphics/pngcrush/distinfo Mon Jan 12 21:23:05 2004 +0000
@@ -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 -r 4610142e84f1 -r 8d50245e834a graphics/pngcrush/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/pngcrush/patches/patch-aa Mon Jan 12 21:23:05 2004 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index