summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-02-24 14:29:34 +0000
committergrant <grant@pkgsrc.org>2004-02-24 14:29:34 +0000
commit341082a98a227e1511adc4cfcbd6dc6e7b0145ec (patch)
tree6e7aa57b3dbb3f66525a2302a4b68153b3b47997 /graphics
parente11b7bbbbafc79fae7a64b18348d49d9be6e027c (diff)
downloadpkgsrc-341082a98a227e1511adc4cfcbd6dc6e7b0145ec.tar.gz
conflict with sysutils/coreutils, which installs a program named
'gpr'.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/graphviz/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile
index 1769423752a..59300acdaee 100644
--- a/graphics/graphviz/Makefile
+++ b/graphics/graphviz/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2004/02/14 17:21:42 jlam Exp $
+# $NetBSD: Makefile,v 1.19 2004/02/24 14:29:34 grant Exp $
#
DISTNAME= graphviz-1.10
@@ -18,6 +18,14 @@ USE_LIBTOOL= yes
USE_X11= yes
XAW_TYPE= standard
+.include "../../mk/bsd.prefs.mk"
+
+# sysutils/coreutils installs a 'gpr' program, so conflict with it if
+# GNU_PROGRAM_PREFIX == 'g'
+.if ${GNU_PROGRAM_PREFIX} == "g"
+CONFLICTS+= coreutils-[0-9]*
+.endif
+
CONFIGURE_ENV+= TCLCONFIG=${BUILDLINK_PREFIX.tcl}/lib/tclConfig.sh
CONFIGURE_ENV+= TKCONFIG=${BUILDLINK_PREFIX.tk}/lib/tkConfig.sh
CONFIGURE_ENV+= X11PREFIX=${X11PREFIX} X11BASE=${X11BASE}