pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/graphviz gcc-2.* does not understand the -Wno...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e7649f5a2c3b
branches:  trunk
changeset: 502576:e7649f5a2c3b
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Nov 06 23:54:46 2005 +0000

description:
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:

 graphics/graphviz/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r e6896a7a315e -r e7649f5a2c3b graphics/graphviz/Makefile
--- a/graphics/graphviz/Makefile        Sun Nov 06 23:49:03 2005 +0000
+++ b/graphics/graphviz/Makefile        Sun Nov 06 23:54:46 2005 +0000
@@ -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 @@
 
 .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}



Home | Main Index | Thread Index | Old Index