2014-12-17 15:32:59 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
# Changes some default behaviour of build systems to allow installing as user.
|
|
|
|
#
|
|
|
|
# Feature: fakeroot
|
|
|
|
# Usage: USES=fakeroot
|
|
|
|
# Valid ARGS: none
|
|
|
|
#
|
|
|
|
# MAINTAINER: bapt@FreeBSD.org
|
|
|
|
|
|
|
|
.if !defined(_INCLUDE_USES_FAKEROOT_MK)
|
|
|
|
_INCLUDE_USES_FAKEROOT_MK= yes
|
2016-03-27 03:23:25 +02:00
|
|
|
BUILD_DEPENDS+= fakeroot:security/fakeroot
|
2014-12-18 09:30:20 +01:00
|
|
|
.if ${UID} != 0
|
2014-12-17 15:32:59 +01:00
|
|
|
FAKEROOT?= fakeroot
|
|
|
|
.endif
|
|
|
|
.endif
|