# $FreeBSD: head/Mk/Uses/fakeroot.mk 374882 2014-12-18 08:30:20Z bapt $ # # 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 BUILD_DEPENDS+= fakeroot:security/fakeroot .if ${UID} != 0 FAKEROOT?= fakeroot .endif .endif