Subject: problem with .PLIST-generating awk scripts
To: None <tech-pkg@netbsd.org>
From: Georg Schwarz <georg.schwarz@freenet.de>
List: tech-pkg
Date: 01/22/2006 15:20:10
pkgsrc currently generates an empty .PLIST on IRIX 5.3. I traced the
problem to the following awk scripts:
lorenz 13% cat PLIST | nawk -f ../../mk/plist/plist-functions.awk -f
../../mk/plist/plist-subst.awk -f ../../mk/plist/plist-info.awk -f
../../mk/plist/plist-man.awk -f ../../mk/plist/plist-libtool.awk -f
../../mk/plist/plist-default.awk
You can only delete array[element] at source line 311
Context is
delete components >>>
<<< }
Syntax error at source line 311
Illegal statement at source line 311
You can only delete array[element] at source line 328
lorenz 14%
it seems nawk does not understand 'delete vars' or 'delete components'.
After commenting out the three occurrences things seem to work fine. Is
this some gawkism?
--
Georg Schwarz http://home.pages.de/~schwarz/
georg.schwarz@freenet.de +49 178 8545053