Subject: pkg/25027: pkgsrc/graphics/plotutils-nox11 does not make use of ${AWK}
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <geos@epost.de>
List: pkgsrc-bugs
Date: 04/02/2004 15:37:06
>Number:         25027
>Category:       pkg
>Synopsis:       pkgsrc/graphics/plotutils-nox11 does not make use of ${AWK}
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 02 15:38:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Georg Schwarz
>Release:        pkgsrc-current
>Organization:
>Environment:
IRIX lorenz 5.3 08031225 IP20 mips
>Description:
pkgsrc/graphics/plotutils-nox11 calls "awk" during compilation. It does not take into account the ${AWK} setting, but simply uses what "awk" is first in the shell path. Unfortunately, in case of IRIX 5.3 at least, the OS's awk is not sufficient. Problably the GNU version of awk is needed.
Probably the same issue applies with pkgsrc/graphics/plotutils.
Should pkgsrc honor ${AWK}?
>How-To-Repeat:
Compile pkgsrc/graphics/plotutils-nox11 on IRIX 5.3 (or some other system with a limited-capability awk first in the shell path): it will break.
>Fix:
Adding
USE_GNU_TOOLS+=  awk
does the trick. Maybe this should only be done if ${OPSYS} == "IRIX"? I am not sure about later version of IRIX's awk.
>Release-Note:
>Audit-Trail:
>Unformatted: