freebsd-ports/Mk/Uses/fakeroot.mk
Baptiste Daroussin 869e1f27d0 Drop the necessity to add ${PORTSDIR} to dependency line
Modify make describe to automatically prepend ${PORTSDIR} if the path for the
port is not absolute

Checked with poudriere, portmaster, portupgrade

PR:		203685
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D3866
2015-10-14 16:49:35 +00:00

17 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