Subject: problem with bsd.pkg.mk in 2005Qk
To: None <tech-pkg@NetBSD.org>
From: Ronald van der Pol <Ronald.vanderPol@rvdp.org>
List: tech-pkg
Date: 05/10/2005 10:21:51
Since a couple of days I have this problem with bsd.pkg.mk:

make: "../../mk/../../mk/bsd.pkg.mk" line 399: Malformed conditional
(empty(_USE_NEW_TOOLS:M[yY][eE][sS]))

This is NetBSD 2.0_STABLE/i386 with pkgsrc-2005Q1. I do not have
_USE_NEW_TOOLS defined in /etc/mk.conf.

kirk$ pkg_chk -i 
make: "../../mk/../../mk/bsd.pkg.mk" line 399: Malformed conditional
(empty(_USE_NEW_TOOLS:M[yY][eE][sS]))
make: "../../mk/../../mk/bsd.pkg.mk" line 399: Missing dependency operator
make: "../../mk/../../mk/bsd.pkg.mk" line 411: if-less endif
make: "../../mk/../../mk/bsd.pkg.mk" line 411: Need an operator
<...>

kirk$ MAKEFLAGS="-D_USE_NEW_TOOLS" pkg_chk -i
<runs without problems>

pkgsrc-current has some _USE_NEW_TOOLS logic in bsd.prefs.mk, pkgsrc-2005Q1
doesn't.

	rvdp