From fea9871b500eca4fc5d0c2bd815fffcd02b89836 Mon Sep 17 00:00:00 2001 From: rillig Date: Thu, 31 Aug 2006 16:21:20 +0000 Subject: 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}). --- mk/unprivileged.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mk/unprivileged.mk') diff --git a/mk/unprivileged.mk b/mk/unprivileged.mk index 66a2b658ff6..f04f25f8f9d 100644 --- a/mk/unprivileged.mk +++ b/mk/unprivileged.mk @@ -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 @@ NO_MTREE= yes 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. -- cgit v1.2.3