Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/pkgsrc/graphics/graphviz/Makefile,v rcsdiff: /ftp/cvs/cvsroot/pkgsrc/graphics/graphviz/Makefile,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.42 retrieving revision 1.43 diff -u -p -r1.42 -r1.43 --- pkgsrc/graphics/graphviz/Makefile 2005/10/08 19:55:21 1.42 +++ pkgsrc/graphics/graphviz/Makefile 2005/11/06 23:54:46 1.43 @@ -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/libpat .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}