1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/Mk/Uses/uidfix.mk

16 lines
312 B
Makefile
Raw Normal View History

# $FreeBSD$
#
# Changes some default behaviour of build systems to allow installing as user.
#
# MAINTAINER: bapt@FreeBSD.org
#
# Feature: uidfix
# Usage: USES=uidfix
# Valid ARGS: none
#
.if !defined(_INCLUDE_USES_UIDFIX_MK)
.if ${UID} != 0
MAKE_ENV+= BINOWN=${UID} SHAREOWN=${UID} CONFOWN=${UID}
.endif
.endif