Date: Mon, 23 Sep 2013 16:52:56 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328024 - head/Mk Message-ID: <201309231652.r8NGqudN029743@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Mon Sep 23 16:52:56 2013 New Revision: 328024 URL: http://svnweb.freebsd.org/changeset/ports/328024 Log: Do not require root credential for make clean if the stage cookie is not present Requested by: sunpoet Modified: head/Mk/bsd.port.mk Modified: head/Mk/bsd.port.mk ============================================================================== --- head/Mk/bsd.port.mk Mon Sep 23 16:48:22 2013 (r328023) +++ head/Mk/bsd.port.mk Mon Sep 23 16:52:56 2013 (r328024) @@ -4563,7 +4563,7 @@ deinstall-all: .if !target(do-clean) do-clean: -.if !defined(NO_STAGE) && ${UID} != 0 && !defined(INSTALL_AS_USER) +.if !defined(NO_STAGE) && ${UID} != 0 && !defined(INSTALL_AS_USER) && exists(${STAGE_COOKIE}) @${ECHO_MSG} "===> Switching to root credentials for '${.TARGET}' target" @cd ${.CURDIR} && \ ${SU_CMD} "${MAKE} ${.TARGET}"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309231652.r8NGqudN029743>