1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/Mk/Uses/fakeroot.mk

18 lines
367 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:${PORTSDIR}/security/fakeroot
.if ${UID} != 0
FAKEROOT?= fakeroot
.endif
.endif