Subject: Broken awk handling for two transcode scripts
To: None <pkgsrc-users@NetBSD.org>
From: Bernd Ernesti <netbsd@lists.veego.de>
List: pkgsrc-users
Date: 02/03/2007 21:45:20
Hi,

the transcode package installs two awk scripts, but as you can see the
first line of this two scripts are broken:

#! -f

I noticed it because of the following warning during the installation:

warning: /usr/pkg/lib/transcode/filter_list.awk: #! without a following slash.
warning: /usr/pkg/lib/transcode/filter_list.awk: executable bit is set on non-executable file.
warning: /usr/pkg/lib/transcode/parse_csv.awk: #! without a following slash.
warning: /usr/pkg/lib/transcode/parse_csv.awk: executable bit is set on non-executable file.

I know that we we have some pre defined values for configure scripts,
but no idea how this works or if this is related to this problem.

Could someone take a look at why PATH_TO_AWK is empty?

These are the configure lines for awk:

checking for gawk... /usr/bin/awk
[..]
checking for gawk... (cached) /usr/bin/awk
[..]
checking for /usr/bin/awk... no
[..]
config.status: creating filter/parse_csv.awk
config.status: creating filter/filter_list.awk


Imho the problem is the last awk check which cause the empty PATH_TO_AWK variable.

Bernd