aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2015-05-04 21:21:17 +0800
committerantoine <antoine@FreeBSD.org>2015-05-04 21:21:17 +0800
commitd2a4af1b0b7de6310758bb50bff52cbcd2f721ed (patch)
tree08d36f6ecb4f2a19872d12df0cf9533b2d94a27d /Mk/bsd.port.mk
parent4b36f9ba07f08717ec64aa64c71b39df3c9bdd55 (diff)
downloadfreebsd-ports-gnome-d2a4af1b0b7de6310758bb50bff52cbcd2f721ed.tar.gz
freebsd-ports-gnome-d2a4af1b0b7de6310758bb50bff52cbcd2f721ed.tar.zst
freebsd-ports-gnome-d2a4af1b0b7de6310758bb50bff52cbcd2f721ed.zip
Remove _*OWNGRP, with staging it's not useful anymore
With hat: portmgr Original submission: bapt Exp-run: self
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk31
1 files changed, 7 insertions, 24 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 4b3456b3a691..c3a05fc695df 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -2146,32 +2146,15 @@ MTREE_ARGS?= -U ${MTREE_FOLLOWS_SYMLINKS} -f ${MTREE_FILE} -d -e -p
READLINK_CMD?= /usr/bin/readlink
-# Determine whether or not we can use rootly owner/group functions.
-.if ${UID} == 0
-_BINOWNGRP= -o ${BINOWN} -g ${BINGRP}
-_SHROWNGRP= -o ${SHAREOWN} -g ${SHAREGRP}
-_MANOWNGRP= -o ${MANOWN} -g ${MANGRP}
-.else
-_BINOWNGRP=
-_SHROWNGRP=
-_MANOWNGRP=
-.endif
-
_SHAREMODE?= 0644
# A few aliases for *-install targets
-INSTALL_PROGRAM= \
- ${INSTALL} ${COPY} ${STRIP} ${_BINOWNGRP} -m ${BINMODE}
-INSTALL_KLD= \
- ${INSTALL} ${COPY} ${_BINOWNGRP} -m ${BINMODE}
-INSTALL_LIB= \
- ${INSTALL} ${COPY} ${STRIP} ${_SHROWNGRP} -m ${SHAREMODE}
-INSTALL_SCRIPT= \
- ${INSTALL} ${COPY} ${_BINOWNGRP} -m ${BINMODE}
-INSTALL_DATA= \
- ${INSTALL} ${COPY} ${_SHROWNGRP} -m ${_SHAREMODE}
-INSTALL_MAN= \
- ${INSTALL} ${COPY} ${_MANOWNGRP} -m ${MANMODE}
+INSTALL_PROGRAM= ${INSTALL} ${COPY} ${STRIP} -m ${BINMODE}
+INSTALL_KLD= ${INSTALL} ${COPY} -m ${BINMODE}
+INSTALL_LIB= ${INSTALL} ${COPY} ${STRIP} -m ${SHAREMODE}
+INSTALL_SCRIPT= ${INSTALL} ${COPY} -m ${BINMODE}
+INSTALL_DATA= ${INSTALL} ${COPY} -m ${_SHAREMODE}
+INSTALL_MAN= ${INSTALL} ${COPY} -m ${MANMODE}
INSTALL_MACROS= BSD_INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
BSD_INSTALL_LIB="${INSTALL_LIB}" \
@@ -3403,7 +3386,7 @@ do-configure:
if ! ${SETENV} CC="${CC}" CPP="${CPP}" CXX="${CXX}" \
CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" CXXFLAGS="${CXXFLAGS}" \
LDFLAGS="${LDFLAGS}" LIBS="${LIBS}" \
- INSTALL="/usr/bin/install -c ${_BINOWNGRP}" \
+ INSTALL="/usr/bin/install -c" \
INSTALL_DATA="${INSTALL_DATA}" \
INSTALL_LIB="${INSTALL_LIB}" \
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \