Subject: problems with mk/bsd.pkg.mk when CONF_DEPENDS is undefined
To: None <tech-pkg@netbsd.org>
From: Honza Dusak <akela@terminal.cz>
List: tech-pkg
Date: 01/02/2006 15:11:01
Hello, 
 since the version  1.1775 of mk/bsd.pkg.mk I receive errors in
bsd.pkg.mk due to the  undefined CONF_DEPENDS variable .

Should be the variable CONF_DEPENDS defined (CONF_DEPENDS?= # empty) 
in the  install/bsd.pkginstall.mk file ?

# bmake show-var VARNAME=PKGNAME
bmake: "../../mk/../../mk/bsd.pkg.mk" line 715: Malformed conditional
(!empty(CONF_DEPENDS))
bmake: "../../mk/../../mk/bsd.pkg.mk" line 722: if-less endif
bmake: "../../mk/../../mk/bsd.pkg.mk" line 722: Need an operator
^[[Abmake: Fatal errors encountered -- cannot continue
bmake: "../../security/openssl/../../security/openssl/buildlink3.mk"
line 32: warning: "cd ../../security/openssl &&
     /usr/pkg/bin/bmake show-var _MAKE=/usr/pkg/bin/bmake
OPSYS=FreeBSD OS_VERSION=4.11-RELEASE-p9
LOWER_OS_VERSION=4.11-release-p9 LOWER_ARCH=i386 LOWER_OPSYS=freebsd
DIGEST=/usr/pkg/bin/digest DIGEST_VERSION=20050731
PKGTOOLS_VERSION=20051122 _PKGSRCDIR=/usr/pkgsrc VARNAME=PKG_OPTIONS"
returned non-zero status
bmake: "../../mk/../../mk/bsd.pkg.mk" line 715: Malformed conditional
(!empty(CONF_DEPENDS))
bmake: "../../mk/../../mk/bsd.pkg.mk" line 722: if-less endif
bmake: "../../mk/../../mk/bsd.pkg.mk" line 722: Need an operator
 bmake: Fatal errors encountered -- cannot continue
...

# bmake show-var VARNAME=PKGNAME  CONF_DEPENDS=
mutt-1.4.2.1nb5

Regards 

-- 
Honza Dusak