pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Prefixed the definitions for the pkgtools with ${SE...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1c7c60c45615
branches:  trunk
changeset: 503758:1c7c60c45615
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Nov 28 21:46:47 2005 +0000

description:
Prefixed the definitions for the pkgtools with ${SETENV}. Now it is
possible to use these commands in shell programs by assigning the output
of `make show-var VARNAME=PKG_DELETE` to a shell variable.

diffstat:

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

diffs (28 lines):

diff -r d1adfe5792eb -r 1c7c60c45615 mk/bsd.prefs.mk
--- a/mk/bsd.prefs.mk   Mon Nov 28 21:18:20 2005 +0000
+++ b/mk/bsd.prefs.mk   Mon Nov 28 21:46:47 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.212 2005/11/24 13:24:10 rillig Exp $
+# $NetBSD: bsd.prefs.mk,v 1.213 2005/11/28 21:46:47 rillig Exp $
 #
 # Make file, included to get the site preferences, if any.  Should
 # only be included by package Makefiles before any .if defined()
@@ -520,12 +520,12 @@
 #
 PKG_VIEW_ARGS?=                -W ${LOCALBASE} -d ${DEPOTBASE} -k ${PKG_DBDIR}
 
-PKG_ADD?=              ${PKGTOOLS_ENV} ${PKG_ADD_CMD} ${PKGTOOLS_ARGS}
-PKG_ADMIN?=            ${PKGTOOLS_ENV} ${PKG_ADMIN_CMD} ${PKGTOOLS_ARGS}
-PKG_CREATE?=           ${PKGTOOLS_ENV} ${PKG_CREATE_CMD} ${PKGTOOLS_ARGS}
-PKG_DELETE?=           ${PKGTOOLS_ENV} ${PKG_DELETE_CMD} ${PKGTOOLS_ARGS}
-PKG_INFO?=             ${PKGTOOLS_ENV} ${PKG_INFO_CMD} ${PKGTOOLS_ARGS}
-PKG_VIEW?=             ${PKGTOOLS_ENV} ${PKG_VIEW_CMD} ${PKG_VIEW_ARGS}
+PKG_ADD?=              ${SETENV} ${PKGTOOLS_ENV} ${PKG_ADD_CMD} ${PKGTOOLS_ARGS}
+PKG_ADMIN?=            ${SETENV} ${PKGTOOLS_ENV} ${PKG_ADMIN_CMD} ${PKGTOOLS_ARGS}
+PKG_CREATE?=           ${SETENV} ${PKGTOOLS_ENV} ${PKG_CREATE_CMD} ${PKGTOOLS_ARGS}
+PKG_DELETE?=           ${SETENV} ${PKGTOOLS_ENV} ${PKG_DELETE_CMD} ${PKGTOOLS_ARGS}
+PKG_INFO?=             ${SETENV} ${PKGTOOLS_ENV} ${PKG_INFO_CMD} ${PKGTOOLS_ARGS}
+PKG_VIEW?=             ${SETENV} ${PKGTOOLS_ENV} ${PKG_VIEW_CMD} ${PKG_VIEW_ARGS}
 LINKFARM?=             ${LINKFARM_CMD}
 
 # "${PKG_BEST_EXISTS} pkgpattern" prints out the name of the installed



Home | Main Index | Thread Index | Old Index