summaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2003-07-30 15:42:22 +0000
committerMax Khon <fjoe@FreeBSD.org>2003-07-30 15:42:22 +0000
commitedbf751d8279e01bce031a0ac9204b77e51cbe1c (patch)
treea4a839644c2257895ec9e05638d390d2e8ef23a6 /Mk/bsd.port.mk
parentUpdate to 2.1.15. (diff)
Backout rev. 1.459.
Requested by: kris
Notes
Notes: svn path=/head/; revision=85915
Diffstat (limited to 'Mk/bsd.port.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)