diff options
author | mat <mat@FreeBSD.org> | 2018-02-01 16:31:05 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2018-02-01 16:31:05 +0800 |
commit | d055d0d691a61ac4e29aacfdff4089ec3b448f13 (patch) | |
tree | af9c68d9833c6d05dd3446439a075d58599730e0 /Mk | |
parent | d52542e1321952d8e00a1161afa6fd7fcef057e6 (diff) | |
download | freebsd-ports-gnome-d055d0d691a61ac4e29aacfdff4089ec3b448f13.tar.gz freebsd-ports-gnome-d055d0d691a61ac4e29aacfdff4089ec3b448f13.tar.zst freebsd-ports-gnome-d055d0d691a61ac4e29aacfdff4089ec3b448f13.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
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 7 |
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 \ |