mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
421767bd88
The infrastructure Makefiles PR: 206569 Exp run by: antoine Differential Revision: D5047
18 lines
355 B
Makefile
18 lines
355 B
Makefile
# $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
|
|
BUILD_DEPENDS+= fakeroot:security/fakeroot
|
|
.if ${UID} != 0
|
|
FAKEROOT?= fakeroot
|
|
.endif
|
|
.endif
|