diff options
author | tv <tv@pkgsrc.org> | 2004-10-29 14:53:39 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2004-10-29 14:53:39 +0000 |
commit | 7b8236e0091d4a79a50147bbacb8a9734ad66946 (patch) | |
tree | e469da9e25f0560f3356d9548c6134c9ce197b11 /mk/platform | |
parent | 0a61d7c65758ab522abb5df21fcefe8e1f550f45 (diff) | |
download | pkgsrc-7b8236e0091d4a79a50147bbacb8a9734ad66946.tar.gz |
Collapse ROOT_CMD a little; it's possible to make all invocations do the
$(id -un ...) dance for canonical naming.
Diffstat (limited to 'mk/platform')
-rw-r--r-- | mk/platform/Interix.mk | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/mk/platform/Interix.mk b/mk/platform/Interix.mk index 05ea8c99153..9e1c3dda665 100644 --- a/mk/platform/Interix.mk +++ b/mk/platform/Interix.mk @@ -1,4 +1,4 @@ -# $NetBSD: Interix.mk,v 1.7 2004/10/13 17:50:01 tv Exp $ +# $NetBSD: Interix.mk,v 1.8 2004/10/29 14:53:39 tv Exp $ # # Variable definitions for the Interix operating system. @@ -96,13 +96,8 @@ MOTIF_TYPE_DEFAULT?= openmotif # default 2.0 compatible libs type NOLOGIN?= /bin/false PKG_TOOLS_BIN?= ${LOCALBASE}/sbin PKGDIRMODE?= 775 -.if ${BINOWN} == 197108 -# If Administrator, BINOWN is exactly this numeric value, so transform it to -# a locale-specific name. (pkgsrc/bootstrap sets all other users to names.) -ROOT_CMD?= ${SU} - "$$(id -un 197108)" -c -.else -ROOT_CMD?= ${SU} - ${ROOT_USER} -c -.endif +# ROOT_USER might be numeric in the special case of Administrator; canonify it: +ROOT_CMD?= ${SU} - "$$(id -un ${ROOT_USER})" -c ROOT_USER?= ${BINOWN} ROOT_GROUP?= 131616 # +Administrators or native language equivalent TOUCH_FLAGS?= |