diff options
author | rillig <rillig@pkgsrc.org> | 2006-08-31 16:21:20 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-08-31 16:21:20 +0000 |
commit | 9a607f8e53fa46cb285119f2e077d229407e3d6b (patch) | |
tree | b1b8722e728a8ff61c090d4459a36833ddbb5209 /mk/unprivileged.mk | |
parent | 05469e142603dc26a90d9489ceb48451fef0b4b0 (diff) | |
download | pkgsrc-9a607f8e53fa46cb285119f2e077d229407e3d6b.tar.gz |
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 (limited to 'mk/unprivileged.mk')
-rw-r--r-- | mk/unprivileged.mk | 6 |
1 files changed, 3 insertions, 3 deletions
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. |