Subject: how to enforce the use of GNU awk?
To: Discussion List NetBSD Packages Technical <email@example.com>
From: Georg Schwarz <firstname.lastname@example.org>
Date: 08/13/2006 18:38:59
With databases/mysql4-client there's the problem on IRIX 5 that IRIX
5's nawk when launched as AWK in mk/configure/configure.mk cannot
handle some lines in the configure script as they are too large for
===> Configuring for mysql-client-4.1.20
=> Modifying GNU configure scripts to avoid --recheck
Input record `ac_subst_vars='SHELL...' too long
Input record number 479, file configure
Source line number 1
*** Error code 2
Now what is the appropriate way to enforce the use of GNU awk as AWK
for that package (on IRIX 5 only)?
I added the following lines to the Makefile, which seem to do the trick:
# the configure script has some lines too long for IRIX 5's nawk
Should I better place this into a separate hacks.mk?
Is there a more appropriate solution?
Georg Schwarz http://home.pages.de/~schwarz/
email@example.com +49 178 8545053