pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/libgpg-error Unbreak this under IRIX by not d...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1816e2724ee9
branches:  trunk
changeset: 493854:1816e2724ee9
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Sun May 15 22:22:48 2005 +0000

description:
Unbreak this under IRIX by not demanding gawk.  This is a hack:

Apparently, for as of yet undetermined reasons, gawk as built on IRIX
under pkgsrc croaks on regular expressions including a
combination of alpha- and numerical matches, such as the rather
trivial /^[ \t]*[0-9]+/
Let's use the system's AWK (ie nawk) for this package to avoid
breaking hundreds of dependents.
Speculation: somehow the regular expression library used to build
gawk conflicts with the systems regular expression library or
some such.
Note: gawk from SGIs freeware collection depends on expat -- why
is that? Does that have anything to do with anything?

diffstat:

 security/libgpg-error/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 5ff3aa9dabfa -r 1816e2724ee9 security/libgpg-error/Makefile
--- a/security/libgpg-error/Makefile    Sun May 15 22:02:26 2005 +0000
+++ b/security/libgpg-error/Makefile    Sun May 15 22:22:48 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2005/04/11 21:47:13 tv Exp $
+# $NetBSD: Makefile,v 1.11 2005/05/15 22:22:48 jschauma Exp $
 #
 
 DISTNAME=      libgpg-error-1.0
@@ -14,7 +14,13 @@
 USE_LIBTOOL=           YES
 GNU_CONFIGURE=         YES
 USE_PKGLOCALEDIR=      YES
+
+.include "../../mk/bsd.prefs.mk"
+
+# XXX See HACKS
+.if ${OPSYS} != IRIX
 USE_GNU_TOOLS+=                awk
+.endif
 
 MAKE_ENV+=             LC_ALL="C"
 



Home | Main Index | Thread Index | Old Index