From eff7a99e8d7f726f72bcc5827fee2f736b5ab8b3 Mon Sep 17 00:00:00 2001 From: rillig Date: Sun, 16 Jul 2006 00:53:01 +0000 Subject: [PATCH] Only Solaris is known to need GNU awk for the pkgsrc work. With this change, the patch suggested in PR 33998 is completely applied. --- x11/wxGTK/Makefile.common | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/x11/wxGTK/Makefile.common b/x11/wxGTK/Makefile.common index 55c266b348ac..2360780a1bcd 100644 --- a/x11/wxGTK/Makefile.common +++ b/x11/wxGTK/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.10 2006/07/15 14:10:13 rillig Exp $ +# $NetBSD: Makefile.common,v 1.11 2006/07/16 00:53:01 rillig Exp $ # DISTNAME= wxGTK-2.6.3 @@ -15,7 +15,7 @@ DISTINFO_FILE= ${.CURDIR}/../../x11/wxGTK/distinfo PATCHFILES= ${DISTNAME}-libtool.diff2.bz2 PATCH_SITES= ${MASTER_SITE_LOCAL} -USE_TOOLS+= pkg-config msgfmt gawk:pkgsrc +USE_TOOLS+= pkg-config msgfmt USE_LIBTOOL= yes USE_PKGLOCALEDIR= YES USE_LANGUAGES= c c++ @@ -40,6 +40,11 @@ CPPFLAGS+= -Dunix=1 # src/common/unzip.c needs this DOCDIR= ${PREFIX}/share/doc/wxGTK +.include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == "SunOS" +USE_TOOLS+= gawk:pkgsrc +.endif + .include "../../devel/gettext-lib/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../graphics/MesaLib/buildlink3.mk"