Subject: pkg/34449: gawk ignores GNU_PROGRAM_PREFIX, but toolchain linking does not
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <heas@shrubbery.net>
List: pkgsrc-bugs
Date: 09/02/2006 02:40:00
>Number:         34449
>Category:       pkg
>Synopsis:       gawk ignores GNU_PROGRAM_PREFIX, but toolchain linking does not
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 02 02:40:00 +0000 2006
>Originator:     john heasley
>Release:        NetBSD 3.99.17
>Organization:
	
>Environment:
	
	
System: NetBSD guelah 3.99.17 NetBSD 3.99.17 (guelah) #1: Tue Apr 18 01:51:21 UTC 2006 root@oak:/sys/arch/sparc64/compile/guelah sparc64
Architecture: sparc64
Machine: sparc64
>Description:
lang/gawk does not handle pkgsrc variable GNU_PROGRAM_PREFIX.  But, when a
package requiring awk, such as security/libgpg-error on solaris 2.9, gets
its tools linked, GNU_PROGRAM_PREFIX is obeyed.  Like so:

	work/.tools/bin/awk -> gawk
	work/.tools/bin/gawk -> /usr/pklg/bin/awk

The build then fails, unless TOOLS_PLATFORM.gawk is defined.

>How-To-Repeat:
Set GNU_PROGRAM_PREFIX= in mk.conf.
Build security/libgpg-error on a platform that require gawk.
>Fix:
	

>Unformatted: