Subject: PLIST handling problem on Interix
To: None <pkgsrc-users@NetBSD.org>
From: OBATA Akio <obata@lins.jp>
List: pkgsrc-users
Date: 04/18/2006 00:07:53
Hi!

Error occured in mk/plist/plist-subst.mk on Interix 3.5.

For example, installing pkgtools/digest:

obata@POM[/usr/pkgsrc/pkgtools/digest] bmake update
===> Checking for vulnerabilities in digest-20060302
===> Installing for digest-20060302
/bin/sh ./mkinstalldirs /usr/pkg/bin
/usr/pkg/bin/install-sh -c -s -o 197613 -g 131616 -m 555 digest /usr/pkg/bin/digest
/bin/sh ./mkinstalldirs /usr/pkg/man/man1
/usr/pkg/bin/install-sh -c -o 197613 -g 131616 -m 444 digest.1 /usr/pkg/man/man1/digest.1
/bin/awk: error in regular expression "\${PKGMANDIR}": invalid regular expression
 input record number 1, file
 source line number 122
===> [Automatic manual page handling]
===> Registering installation for digest-20060302
===> Checking for work-directory references in digest-20060302
===> Cleaning for digest-20060302

Workaround:
TOOLS_PLATFORM.awk=/usr/contrib/bin/gawk
on /etc/mk.conf

--
"Of course I love NetBSD":-)
OBATA Akio / obata@lins.jp