1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/Mk/Uses/fakeroot.mk
Baptiste Daroussin 421767bd88 Remove the now unneeded ${PORTSDIR} from dependency definition in
The infrastructure Makefiles

PR:		206569
Exp run by:	antoine
Differential Revision:	D5047
2016-03-27 01:23:25 +00:00

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