aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-12-18 16:30:20 +0800
committerbapt <bapt@FreeBSD.org>2014-12-18 16:30:20 +0800
commit9b9d2bb9e3697f987de00312d5c5625d05ba1a22 (patch)
tree190fe9ae629a6ee16123c2425afbaf97eafb3458 /Mk/Uses
parent321cd2499b98c4644bd2a8f43f6c80896c2118d7 (diff)
downloadfreebsd-ports-gnome-9b9d2bb9e3697f987de00312d5c5625d05ba1a22.tar.gz
freebsd-ports-gnome-9b9d2bb9e3697f987de00312d5c5625d05ba1a22.tar.zst
freebsd-ports-gnome-9b9d2bb9e3697f987de00312d5c5625d05ba1a22.zip
Only the definition of the fakeroot command should conditioned to the UID
Diffstat (limited to 'Mk/Uses')
-rw-r--r--Mk/Uses/fakeroot.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/fakeroot.mk b/Mk/Uses/fakeroot.mk
index d7ffc5a1495f..a40b2d999b3a 100644
--- a/Mk/Uses/fakeroot.mk
+++ b/Mk/Uses/fakeroot.mk
@@ -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