1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

Backout rev. 1.459.

Requested by:	kris
This commit is contained in:
Max Khon 2003-07-30 15:42:22 +00:00
parent 9cd14ef454
commit edbf751d82
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=85915

View File

@ -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)