diff options
author | jschauma <jschauma> | 2003-06-06 14:39:06 +0000 |
---|---|---|
committer | jschauma <jschauma> | 2003-06-06 14:39:06 +0000 |
commit | a14ead90350057adb747a9ce28fa208138f3658c (patch) | |
tree | 6f32d5582bb5224d55cda4bebb8fe4c37b13bad5 /graphics/plotutils | |
parent | 259ecb476a8757e34ccdfa6c989306713b987bb7 (diff) | |
download | pkgsrc-a14ead90350057adb747a9ce28fa208138f3658c.tar.gz |
If X11 is present, set the pkgname to plotutils-x11 and conflict with
plain plotutils (and the other way around). ok'd by agc.
Diffstat (limited to 'graphics/plotutils')
-rw-r--r-- | graphics/plotutils/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/plotutils/Makefile b/graphics/plotutils/Makefile index 825cf37fcb0..858232d2aa9 100644 --- a/graphics/plotutils/Makefile +++ b/graphics/plotutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2003/06/04 21:22:44 jschauma Exp $ +# $NetBSD: Makefile,v 1.24 2003/06/06 14:39:06 jschauma Exp $ # DISTNAME= plotutils-2.4.1 @@ -24,7 +24,11 @@ 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}) +PKGNAME= ${DISTNAME:C/-/-x11-/} +CONFLICTS+= ${DISTNAME:C/-[0-9].*//} USE_X11= YES +.else +CONFLICTS+= ${DISTNAME:C/-[0-9].*/-x11/} .endif .include "../../graphics/png/buildlink2.mk" |