mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 02:21:15 +02:00
create bsd12 branch
This commit is contained in:
17
Mk/Uses/fakeroot.mk
Normal file
17
Mk/Uses/fakeroot.mk
Normal file
@@ -0,0 +1,17 @@
|
||||
# $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
|
||||
Reference in New Issue
Block a user