summaryrefslogtreecommitdiff
path: root/graphics/netpbm/patches
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2003-03-21 08:30:48 +0000
committertron <tron@pkgsrc.org>2003-03-21 08:30:48 +0000
commit93f5c1d229b55c50d167b2f3eeb7115884505b34 (patch)
treeeed3452d08203de41a446a34a6419a53caf51b70 /graphics/netpbm/patches
parent5d5f742c3cce300201d4a3a84b41a4d6d2355608 (diff)
downloadpkgsrc-93f5c1d229b55c50d167b2f3eeb7115884505b34.tar.gz
Fix "zlib" configuration in "Makefile.common" so that PNG tools get built.
Bump package revision to reflect this change. This patch was contributed by Christopher Richards in PR pkg/20809.
Diffstat (limited to 'graphics/netpbm/patches')
-rw-r--r--graphics/netpbm/patches/patch-aa13
1 files changed, 12 insertions, 1 deletions
diff --git a/graphics/netpbm/patches/patch-aa b/graphics/netpbm/patches/patch-aa
index 5cbdb8da5e2..2ef2094157b 100644
--- a/graphics/netpbm/patches/patch-aa
+++ b/graphics/netpbm/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.21 2003/03/18 12:11:57 tron Exp $
+$NetBSD: patch-aa,v 1.22 2003/03/21 08:30:49 tron Exp $
--- Makefile.config.in.orig 2002-10-15 19:17:21.000000000 +0200
+++ Makefile.config.in 2003-03-18 10:44:40.000000000 +0100
@@ -91,6 +91,17 @@ $NetBSD: patch-aa,v 1.21 2003/03/18 12:11:57 tron Exp $
# OSF/Tru64:
#PNGLIB = /usr/local1/DEC/lib/libpng$(PNGVER).so
#PNGHDR_DIR = /usr/local1/DEC/include
+@@ -308,8 +312,8 @@
+ # NONE for the PNG library, it doesn't matter what you specify here --
+ # it won't get used.
+
+-ZLIB = NONE
+-ZHDR_DIR =
++ZLIB = $(BUILDLINK_DIR)/lib/libz.so
++ZHDR_DIR = $(BUILDLINK_DIR)/include
+ #ZLIB = libz.so
+
+ # The JBIG lossless image compression library (aka JBIG-KIT):
@@ -337,7 +341,7 @@
# network functions is the option in ppmtompeg to run it on multiple
# computers simultaneously.