Only the definition of the fakeroot command should conditioned to the UID

This commit is contained in:
Baptiste Daroussin 2014-12-18 08:30:20 +00:00
parent 12578ee56b
commit 1b37d26719
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=374882

View File

@ -10,8 +10,8 @@
.if !defined(_INCLUDE_USES_FAKEROOT_MK)
_INCLUDE_USES_FAKEROOT_MK= yes
.if ${UID} != 0
BUILD_DEPENDS+= fakeroot:${PORTSDIR}/security/fakeroot
.if ${UID} != 0
FAKEROOT?= fakeroot
.endif
.endif