summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2000-08-25 23:47:13 +0000
committerdmcmahill <dmcmahill>2000-08-25 23:47:13 +0000
commite4c8a89f30e3dae8eb352301a74ee1c1529c171f (patch)
treeb6243763e1e3cc4e32e0c25a029de4e59e9cc944 /graphics
parent9c31505b6cb26a161da222246c4260a7b8eee7a7 (diff)
downloadpkgsrc-e4c8a89f30e3dae8eb352301a74ee1c1529c171f.tar.gz
make sure configure actually finds png
Diffstat (limited to 'graphics')
-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