From 2c4ea0c0d5ebf34a3c2e12ba58b2e7cd2cad4bed Mon Sep 17 00:00:00 2001 From: jschauma Date: Wed, 4 Jun 2003 21:19:42 +0000 Subject: thiss package works with and without X11, but if X11 is present, we need the necessary compile and ld flags --- graphics/plotutils/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'graphics/plotutils') 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" -- cgit v1.2.3