pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Create new variables PKG_*_CMD that contain just th...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e582046767ac
branches:  trunk
changeset: 460531:e582046767ac
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Aug 31 11:04:58 2003 +0000

description:
Create new variables PKG_*_CMD that contain just the paths to the various
pkg_install tools.

diffstat:

 mk/bsd.prefs.mk |  20 +++++++++++++-------
 1 files changed, 13 insertions(+), 7 deletions(-)

diffs (34 lines):

diff -r a04ff96c526c -r e582046767ac mk/bsd.prefs.mk
--- a/mk/bsd.prefs.mk   Sun Aug 31 10:58:37 2003 +0000
+++ b/mk/bsd.prefs.mk   Sun Aug 31 11:04:58 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.120 2003/08/21 16:16:46 gavan Exp $
+# $NetBSD: bsd.prefs.mk,v 1.121 2003/08/31 11:04:58 jlam Exp $
 #
 # Make file, included to get the site preferences, if any.  Should
 # only be included by package Makefiles before any .if defined()
@@ -276,12 +276,18 @@
 MAKEFLAGS+=            DIGEST_VERSION="${DIGEST_VERSION}"
 .endif
 
-PKG_DBDIR?=    ${DESTDIR}/var/db/pkg
-PKG_ADD?=      PKG_DBDIR=${PKG_DBDIR} ${PKG_TOOLS_BIN}/pkg_add
-PKG_ADMIN?=    PKG_DBDIR=${PKG_DBDIR} ${PKG_TOOLS_BIN}/pkg_admin
-PKG_CREATE?=   PKG_DBDIR=${PKG_DBDIR} ${PKG_TOOLS_BIN}/pkg_create
-PKG_DELETE?=   PKG_DBDIR=${PKG_DBDIR} ${PKG_TOOLS_BIN}/pkg_delete
-PKG_INFO?=     PKG_DBDIR=${PKG_DBDIR} ${PKG_TOOLS_BIN}/pkg_info
+PKG_ADD_CMD?=          ${PKG_TOOLS_BIN}/pkg_add
+PKG_ADMIN_CMD?=                ${PKG_TOOLS_BIN}/pkg_admin
+PKG_CREATE_CMD?=       ${PKG_TOOLS_BIN}/pkg_create
+PKG_DELETE_CMD?=       ${PKG_TOOLS_BIN}/pkg_delete
+PKG_INFO_CMD?=         ${PKG_TOOLS_BIN}/pkg_info
+
+PKG_DBDIR?=            ${DESTDIR}/var/db/pkg
+PKG_ADD?=              PKG_DBDIR=${PKG_DBDIR} ${PKG_ADD_CMD}
+PKG_ADMIN?=            PKG_DBDIR=${PKG_DBDIR} ${PKG_ADMIN_CMD}
+PKG_CREATE?=           PKG_DBDIR=${PKG_DBDIR} ${PKG_CREATE_CMD}
+PKG_DELETE?=           PKG_DBDIR=${PKG_DBDIR} ${PKG_DELETE_CMD}
+PKG_INFO?=             PKG_DBDIR=${PKG_DBDIR} ${PKG_INFO_CMD}
 
 .ifndef PKGTOOLS_VERSION
 PKGTOOLS_VERSION!=     ${PKG_INFO} -V 2>/dev/null || echo 20010302



Home | Main Index | Thread Index | Old Index