From b18397b36cbfe60d67ada52b87fb78d32c3720a8 Mon Sep 17 00:00:00 2001 From: jschauma Date: Sun, 15 May 2005 22:22:48 +0000 Subject: 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? --- security/libgpg-error/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'security/libgpg-error') diff --git a/security/libgpg-error/Makefile b/security/libgpg-error/Makefile index 17b65edeadb..73300eaf2ef 100644 --- a/security/libgpg-error/Makefile +++ b/security/libgpg-error/Makefile @@ -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 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews 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" -- cgit v1.2.3