summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2003-06-04 21:19:42 +0000
committerjschauma <jschauma@pkgsrc.org>2003-06-04 21:19:42 +0000
commit0b3f24cdea1228d0c3ec59aa418fed9724dfe0c5 (patch)
tree3b717e8f7aacb0c55dd25e1a7e4afc1a679de0a0 /graphics
parent085807097b7364a9e480bf68a1b1abd3d6213230 (diff)
downloadpkgsrc-0b3f24cdea1228d0c3ec59aa418fed9724dfe0c5.tar.gz
thiss package works with and without X11, but if X11 is present, we need the
necessary compile and ld flags
Diffstat (limited to 'graphics')
-rw-r--r--graphics/plotutils/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/plotutils/Makefile b/graphics/plotutils/Makefile
index 38d13fc0526..2a28108651c 100644
--- a/graphics/plotutils/Makefile
+++ b/graphics/plotutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2003/06/04 18:21:50 jschauma Exp $
+# $NetBSD: Makefile,v 1.22 2003/06/04 21:19:42 jschauma Exp $
#
DISTNAME= plotutils-2.4.1
@@ -19,6 +19,12 @@ CONFIGURE_ARGS+= --enable-libplotter
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig ${WRKSRC}/libxmi/ltconfig
+# this package works with and without X11, but if X11 is present, we need the
+# necessary compile and ld flags
+.if exists(${X11BASE})
+USE_X11= YES
+.endif
+
.include "../../graphics/png/buildlink2.mk"
.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"