diff options
Diffstat (limited to 'graphics/gnuplot/Makefile')
-rw-r--r-- | graphics/gnuplot/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/gnuplot/Makefile b/graphics/gnuplot/Makefile index 78fc4ab047a..f230f1b2b5a 100644 --- a/graphics/gnuplot/Makefile +++ b/graphics/gnuplot/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2003/06/04 21:34:08 jschauma Exp $ +# $NetBSD: Makefile,v 1.20 2003/06/06 14:41:29 jschauma Exp $ # DISTNAME= gnuplot-3.7.3 @@ -24,9 +24,12 @@ CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.readline} .include "../../mk/bsd.prefs.mk" .if exists(${X11BASE}) +PKGNAME= ${DISTNAME:C/-/-x11-/} +CONFLICTS+= ${DISTNAME:C/-[0-9].*//} USE_X11= YES PLIST_SUBST+= XCOMM="" .else +CONFLICTS+= ${DISTNAME:C/-[0-9].*/-x11/} PLIST_SUBST+= XCOMM="@comment " .endif |