aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2003-07-30 23:42:22 +0800
committerfjoe <fjoe@FreeBSD.org>2003-07-30 23:42:22 +0800
commitb96e7b80101f454f2a53a9fb06c1193e35f6edf4 (patch)
treed5a7b926102943ebf640274710537230c66cbc2b /Mk
parent4442f1458d8a61214b34823424b66bff17ae08fc (diff)
downloadfreebsd-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.mk5
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)