diff options
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r-- | Mk/bsd.port.mk | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index f40c8b67111b..f3652fd09e96 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -3921,12 +3921,6 @@ deinstall-all: .if !target(do-clean) do-clean: -.if defined(NEED_ROOT) && ${UID} != 0 && !defined(INSTALL_AS_USER) && exists(${STAGE_COOKIE}) - @${ECHO_MSG} "===> Switching to root credentials for '${.TARGET}' target" - @cd ${.CURDIR} && \ - ${SU_CMD} "${MAKE} ${.TARGET}" - @${ECHO_MSG} "===> Returning to user credentials" -.else @if [ -d ${WRKDIR} ]; then \ if [ -w ${WRKDIR} ]; then \ ${RM} -rf ${WRKDIR}; \ @@ -3935,7 +3929,6 @@ do-clean: fi; \ fi .endif -.endif .if !target(clean) clean: @@ -5923,19 +5916,6 @@ _STAGE_DEP= build _STAGE_SEQ= stage-message stage-dir run-depends lib-depends apply-slist pre-install generate-plist \ pre-su-install # ${POST_PLIST} must be after anything that modifies TMPPLIST -.if defined(NEED_ROOT) -_STAGE_SUSEQ= create-users-groups do-install \ - kmod-post-install fix-perl-things \ - webplugin-post-install post-install post-install-script \ - move-uniquefiles patch-lafiles post-stage compress-man \ - install-rc-script install-ldconfig-file install-license \ - install-desktop-entries add-plist-info add-plist-docs \ - add-plist-examples add-plist-data add-plist-post \ - move-uniquefiles-plist ${POST_PLIST} -.if defined(DEVELOPER) -_STAGE_SUSEQ+= stage-qa -.endif -.else _STAGE_SEQ+= create-users-groups do-install \ kmod-post-install fix-perl-things \ webplugin-post-install post-install post-install-script \ @@ -5947,7 +5927,6 @@ _STAGE_SEQ+= create-users-groups do-install \ .if defined(DEVELOPER) _STAGE_SEQ+= stage-qa .endif -.endif _INSTALL_DEP= stage _INSTALL_SEQ= install-message run-depends lib-depends check-already-installed _INSTALL_SUSEQ= fake-pkg security-check |