summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-03-13 13:54:48 +0000
committertron <tron@pkgsrc.org>2001-03-13 13:54:48 +0000
commit7c9861d3de70d688ecdf147877e39d4c17c19cd6 (patch)
treec6886d1ebfe1b891787e00916b5c80d7e110b0a4 /graphics
parent89ee2c787fbb5b6026cbee0b1930fb61c38384d3 (diff)
downloadpkgsrc-7c9861d3de70d688ecdf147877e39d4c17c19cd6.tar.gz
Use "CPPFLAGS" to configure include directories because setting
"INCLUDES" doesn't work.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gif2png/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/gif2png/Makefile b/graphics/gif2png/Makefile
index 1cc66a151e6..dba0eb083fc 100644
--- a/graphics/gif2png/Makefile
+++ b/graphics/gif2png/Makefile
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2001/03/13 09:08:56 zuntum Exp $
-#
+# $NetBSD: Makefile,v 1.15 2001/03/13 13:54:48 tron Exp $
DISTNAME= gif2png-2.4.2
CATEGORIES= graphics converters
@@ -13,7 +12,9 @@ COMMENT= convert GIF files to PNG
DEPENDS+= png>1.0.9:../../graphics/png
GNU_CONFIGURE= YES
-MAKE_ENV+= INCLUDES="-I${LOCALBASE}/include"
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
+
+CPPFLAGS+= -I${LOCALBASE}/include
post-install:
${SED} s:/usr/bin/python:${PREFIX}/bin/python: \