pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Instead of the variables CHOWN and CHGRP, the TOOLS...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2d2b35c9d833
branches: trunk
changeset: 518102:2d2b35c9d833
user: rillig <rillig%pkgsrc.org@localhost>
date: Thu Aug 31 16:21:20 2006 +0000
description:
Instead of the variables CHOWN and CHGRP, the TOOLS_PLATFORM.* variables
need to be overridden to generate tool wrappers that also work when
called with their simple names (for example chown instead of ${CHOWN}).
diffstat:
mk/unprivileged.mk | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r ef2014c9a5c6 -r 2d2b35c9d833 mk/unprivileged.mk
--- a/mk/unprivileged.mk Thu Aug 31 14:12:53 2006 +0000
+++ b/mk/unprivileged.mk Thu Aug 31 16:21:20 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: unprivileged.mk,v 1.4 2006/07/15 20:47:43 rillig Exp $
+# $NetBSD: unprivileged.mk,v 1.5 2006/08/31 16:21:20 rillig Exp $
#
# This file collects definitions that are useful when using pkgsrc as an
# unprivileged (non-root) user. It is included automatically by the
@@ -55,8 +55,8 @@
PKG_CREATE_USERGROUP= NO
# Override commands that won't work as a regular user.
-CHGRP= ${TRUE} chgrp
-CHOWN= ${TRUE} chown
+TOOLS_PLATFORM.chgrp= ${TRUE} chgrp
+TOOLS_PLATFORM.chown= ${TRUE} chown
SU_CMD= ${SH} -c
# Do not attempt to modify /etc/shells as a regular user.
Home |
Main Index |
Thread Index |
Old Index