summaryrefslogtreecommitdiff
path: root/graphics/graphviz
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-11-06 23:54:46 +0000
committerrillig <rillig@pkgsrc.org>2005-11-06 23:54:46 +0000
commita6fd366b1faa0af8aada30cc75c4a08ecbaa9368 (patch)
treeaaf0cb72dd4c7938fb0435ee8801084db5cce803 /graphics/graphviz
parente82819d8c22bebf3b1d286d41f154310d2a6acf6 (diff)
downloadpkgsrc-a6fd366b1faa0af8aada30cc75c4a08ecbaa9368.tar.gz
gcc-2.* does not understand the -Wno-unused-parameter option, so tell
buildlink to filter it out. Fixes the bulk build on NetBSD 1.6.2/i386.
Diffstat (limited to 'graphics/graphviz')
-rw-r--r--graphics/graphviz/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile
index 4f9056b9d12..291b4261f15 100644
--- a/graphics/graphviz/Makefile
+++ b/graphics/graphviz/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2005/10/08 19:55:21 seb Exp $
+# $NetBSD: Makefile,v 1.43 2005/11/06 23:54:46 rillig Exp $
DISTNAME= graphviz-2.6
CATEGORIES= graphics
@@ -24,6 +24,11 @@ PKGCONFIG_OVERRIDE+= lib/pathplan/libpathplan.pc.in
.include "../../mk/bsd.prefs.mk"
+.include "../../mk/compiler.mk"
+.if !empty(CC_VERSION:Mgcc-2*)
+BUILDLINK_TRANSFORM+= rm:-Wno-unused-parameter
+.endif
+
CONFIGURE_ENV+= TCLCONFIG=${TCLCONFIG_SH}
CONFIGURE_ENV+= TKCONFIG=${TKCONFIG_SH}
CONFIGURE_ENV+= X11PREFIX=${X11PREFIX} X11BASE=${X11BASE}