mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
5d33e04596
Where appropriate fiddle with a few other things.
16 lines
341 B
Makefile
16 lines
341 B
Makefile
# 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
|