diff options
author | fjoe <fjoe@FreeBSD.org> | 2003-07-30 23:42:22 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2003-07-30 23:42:22 +0800 |
commit | b96e7b80101f454f2a53a9fb06c1193e35f6edf4 (patch) | |
tree | d5a7b926102943ebf640274710537230c66cbc2b /Mk | |
parent | 4442f1458d8a61214b34823424b66bff17ae08fc (diff) | |
download | freebsd-ports-gnome-b96e7b80101f454f2a53a9fb06c1193e35f6edf4.tar.gz freebsd-ports-gnome-b96e7b80101f454f2a53a9fb06c1193e35f6edf4.tar.zst freebsd-ports-gnome-b96e7b80101f454f2a53a9fb06c1193e35f6edf4.zip |
Backout rev. 1.459.
Requested by: kris
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 0846d16c42da..06dd008ace08 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -795,8 +795,7 @@ SED?= /usr/bin/sed SETENV?= /usr/bin/env SH?= /bin/sh STRIP_CMD?= /usr/bin/strip -SU_CMD?= /usr/bin/su root -c -#SU_CMD?= /usr/local/bin/sudo su -c +SU?= /usr/bin/su TAIL?= /usr/bin/tail TEST?= test # Shell builtin TR?= /usr/bin/tr @@ -3259,7 +3258,7 @@ ${${target:U}_COOKIE}: ${_${target:U}_DEP} ${_${target:U}_SEQ} .endif @echo "===> Switching to root credentials for '${target}' target" @cd ${.CURDIR} && \ - ${SU_CMD} "${MAKE} ${__softMAKEFLAGS} ${_${target:U}_SUSEQ}" + ${SU} root -c "${MAKE} ${__softMAKEFLAGS} ${_${target:U}_SUSEQ}" @echo "===> Returning to user credentials" @${TOUCH} ${TOUCH_FLAGS} ${.TARGET} .elif defined(USE_SUBMAKE) |