diff options
author | jschauma <jschauma> | 2003-06-04 21:19:42 +0000 |
---|---|---|
committer | jschauma <jschauma> | 2003-06-04 21:19:42 +0000 |
commit | cc3ff32edb86f6b9590a29d9b1cc06e34db382cb (patch) | |
tree | 3b717e8f7aacb0c55dd25e1a7e4afc1a679de0a0 /graphics/plotutils | |
parent | 441ef24d3af3052870dbbab8f5c4e87739e7ded5 (diff) | |
download | pkgsrc-cc3ff32edb86f6b9590a29d9b1cc06e34db382cb.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/Makefile | 8 |
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" |