Specify PKG_DBDIR to pkg_admin and pkg_info via their -K argument
instead of environment. This allows mk/flavor/pkg/resolve-dependencies to execute '${PKG_ADMIN}': you can encounter this problem on platforms in need of pkgtools/pkg_install because their native pkg_* tools are older than PKGTOOLS_REQD, id est NetBSD 2.x and earlier. Ok'ed joerg@.
This commit is contained in:
parent
3994688c6b
commit
e40571f70c
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.135 2007/07/29 14:06:44 adrianp Exp $
|
||||
# $NetBSD: Makefile,v 1.136 2007/07/29 17:39:31 seb Exp $
|
||||
|
||||
# Notes to package maintainers:
|
||||
#
|
||||
|
@ -58,8 +58,8 @@ MAKE_ENV+= MACHINE_ARCH=${MACHINE_ARCH:Q}
|
|||
MAKE_ENV+= OPSYS=${OPSYS:Q}
|
||||
|
||||
PKG_DBDIR?= /var/db/pkg
|
||||
PKG_INFO= PKG_DBDIR=${PKG_DBDIR:Q} ${PKG_INFO_CMD}
|
||||
PKG_ADMIN= PKG_DBDIR=${PKG_DBDIR:Q} ${PKG_ADMIN_CMD}
|
||||
PKG_INFO= ${PKG_INFO_CMD} -K ${PKG_DBDIR:Q}
|
||||
PKG_ADMIN= ${PKG_ADMIN_CMD} -K ${PKG_DBDIR:Q}
|
||||
EGDIR= ${PREFIX}/share/examples/pkg_install
|
||||
|
||||
PLIST_SUBST+= PKG_DBDIR=${PKG_DBDIR:Q}
|
||||
|
|
Loading…
Reference in a new issue