Respect INSTALL_AS_USER for FILES.
MFC after: 2 weeks Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
9f4bf11e12
commit
9ef60181ae
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=321334
@ -26,6 +26,10 @@ installfiles: installfiles-${group}
|
||||
|
||||
${group}OWN?= ${SHAREOWN}
|
||||
${group}GRP?= ${SHAREGRP}
|
||||
.if ${MK_INSTALL_AS_USER} == "yes"
|
||||
${group}OWN= ${SHAREOWN}
|
||||
${group}GRP= ${SHAREGRP}
|
||||
.endif
|
||||
${group}MODE?= ${SHAREMODE}
|
||||
${group}DIR?= ${BINDIR}
|
||||
STAGE_SETS+= ${group:C,[/*],_,g}
|
||||
@ -46,6 +50,10 @@ _${group}FILES=
|
||||
defined(${group}NAME_${file:T}) || defined(${group}NAME)
|
||||
${group}OWN_${file:T}?= ${${group}OWN}
|
||||
${group}GRP_${file:T}?= ${${group}GRP}
|
||||
.if ${MK_INSTALL_AS_USER} == "yes"
|
||||
${group}OWN_${file:T}= ${SHAREOWN}
|
||||
${group}GRP_${file:T}= ${SHAREGRP}
|
||||
.endif
|
||||
${group}MODE_${file:T}?= ${${group}MODE}
|
||||
${group}DIR_${file:T}?= ${${group}DIR}
|
||||
.if defined(${group}NAME)
|
||||
|
Loading…
Reference in New Issue
Block a user