From d055d0d691a61ac4e29aacfdff4089ec3b448f13 Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 1 Feb 2018 08:31:05 +0000 Subject: Don't run create-manifest as root. PR: 224992 Submitted by: tobik Reported by: yuri Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D13798 --- Mk/bsd.port.mk | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Mk') diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index db5b23774df8..519ecda8f1af 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -4675,7 +4675,7 @@ flavors-package-names: .PHONY STAGE_ARGS= -i ${STAGEDIR} .if !defined(NO_PKG_REGISTER) -fake-pkg: create-manifest +fake-pkg: .if defined(INSTALLS_DEPENDS) @${ECHO_MSG} "===> Registering installation for ${PKGNAME} as automatic" .else @@ -5262,8 +5262,9 @@ _TEST_SEQ= 100:test-message 150:test-depends 300:pre-test 500:do-test \ ${_OPTIONS_test} ${_USES_test} _INSTALL_DEP= stage _INSTALL_SEQ= 100:install-message \ - 200:check-already-installed -_INSTALL_SUSEQ= 300:fake-pkg 500:security-check + 200:check-already-installed \ + 300:create-manifest +_INSTALL_SUSEQ= 400:fake-pkg 500:security-check _PACKAGE_DEP= stage _PACKAGE_SEQ= 100:package-message 300:pre-package 450:pre-package-script \ -- cgit