pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/wxGTK Only Solaris is known to need GNU awk for th...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3e66a79f4963
branches:  trunk
changeset: 516172:3e66a79f4963
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Jul 16 00:53:01 2006 +0000

description:
Only Solaris is known to need GNU awk for the pkgsrc work. With this
change, the patch suggested in PR 33998 is completely applied.

diffstat:

 x11/wxGTK/Makefile.common |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 8a2c486f2c0f -r 3e66a79f4963 x11/wxGTK/Makefile.common
--- a/x11/wxGTK/Makefile.common Sat Jul 15 23:58:52 2006 +0000
+++ b/x11/wxGTK/Makefile.common Sun Jul 16 00:53:01 2006 +0000
@@ -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 @@
 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 @@
 
 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"



Home | Main Index | Thread Index | Old Index