summaryrefslogtreecommitdiff
path: root/graphics/plotutils
diff options
context:
space:
mode:
authorjschauma <jschauma>2003-06-04 21:19:42 +0000
committerjschauma <jschauma>2003-06-04 21:19:42 +0000
commit2c4ea0c0d5ebf34a3c2e12ba58b2e7cd2cad4bed (patch)
tree3b717e8f7aacb0c55dd25e1a7e4afc1a679de0a0 /graphics/plotutils
parent5d581f066b066be5706e2d6b895fbc7ceaeb9cf4 (diff)
downloadpkgsrc-2c4ea0c0d5ebf34a3c2e12ba58b2e7cd2cad4bed.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/plotutils')
-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"