summaryrefslogtreecommitdiff
path: root/graphics/plotutils/Makefile
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2000-08-25 23:47:13 +0000
committerdmcmahill <dmcmahill>2000-08-25 23:47:13 +0000
commit28141013a9b6e6a8ec4e36fbc56ac3d08d4b7ecb (patch)
treeb6243763e1e3cc4e32e0c25a029de4e59e9cc944 /graphics/plotutils/Makefile
parenta838f8eeb5c861ff65a61a1466b32f03982a4bd9 (diff)
downloadpkgsrc-28141013a9b6e6a8ec4e36fbc56ac3d08d4b7ecb.tar.gz
make sure configure actually finds png
Diffstat (limited to 'graphics/plotutils/Makefile')
-rw-r--r--graphics/plotutils/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/plotutils/Makefile b/graphics/plotutils/Makefile
index a18e310255d..f08f6f4c7fd 100644
--- a/graphics/plotutils/Makefile
+++ b/graphics/plotutils/Makefile
@@ -1,10 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2000/08/24 00:08:39 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.12 2000/08/25 23:47:13 dmcmahill Exp $
#
DISTNAME= plotutils-2.4.1
-# "nb1" is added to distinguish libplotter enabled version and existent pkg.
-# If you update the base source above 2.3, this hack will no longer needed.
-#PKGNAME= plotutils-2.3nb1
CATEGORIES= devel graphics x11
MASTER_SITES= ${MASTER_SITE_GNU:=plotutils/}
@@ -15,6 +12,9 @@ DEPENDS+= png>=1.0.6:../../graphics/png
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-libplotter
+# make sure configure finds png
+CPPFLAGS+= -I${LOCALBASE}/include
+CONFIGURE_ENV+= CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}"
USE_LIBTOOL= yes
USE_X11BASE= yes