aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2018-02-01 08:31:05 +0000
committerMathieu Arnold <mat@FreeBSD.org>2018-02-01 08:31:05 +0000
commitf50897535830cb2358b75aae37e412f81aa2dad1 (patch)
treeaf9c68d9833c6d05dd3446439a075d58599730e0 /Mk/bsd.port.mk
parent56c7275e64c9bd5581819c90492a7978cfd79e6e (diff)
downloadports-f50897535830cb2358b75aae37e412f81aa2dad1.tar.gz
ports-f50897535830cb2358b75aae37e412f81aa2dad1.zip
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
Notes
Notes: svn path=/head/; revision=460578
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk7
1 files changed, 4 insertions, 3 deletions
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 \