aboutsummaryrefslogblamecommitdiff
path: root/Mk/Uses/fakeroot.mk
blob: 160a7736faef05add287f33129121e0b7f01e173 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                              
                                          
                 
                        
        
      
# 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