mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 02:21:15 +02:00
18 lines
415 B
Makefile
18 lines
415 B
Makefile
# $FreeBSD: head/Mk/Uses/fakeroot.mk 411970 2016-03-27 01:23:25Z bapt $
|
|
#
|
|
# 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
|