mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Unbreak port if INCOWN and INCGRP are not defined.
Basically don't pass a bogus -R argument to cpio ":" when INCOWN and INCGRP are not defined. Reviewed by: sobomax
This commit is contained in:
parent
38b203a00e
commit
05ff8debcd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60278
@ -26,11 +26,15 @@ WRKSRC= ${WRKDIRPREFIX}${MAINDIR}/work/mozilla
|
||||
USE_GMAKE= yes
|
||||
ALL_TARGET= export
|
||||
|
||||
.if defined(INCOWN) || defined(INCGRP)
|
||||
CPIOOWN= -R ${INCOWN}:${INCGRP}
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
-${RM} -fr ${PREFIX}/include/mozilla
|
||||
${MKDIR} ${PREFIX}/include/mozilla
|
||||
${CHMOD} 755 ${PREFIX}/include/mozilla
|
||||
cd ${WRKSRC}/dist/include && ${FIND} . | \
|
||||
cpio -pdm -L -R ${INCOWN}:${INCGRP} ${PREFIX}/include/mozilla
|
||||
cpio -pdm -L ${CPIOOWN} ${PREFIX}/include/mozilla
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -26,11 +26,15 @@ WRKSRC= ${WRKDIRPREFIX}${MAINDIR}/work/mozilla
|
||||
USE_GMAKE= yes
|
||||
ALL_TARGET= export
|
||||
|
||||
.if defined(INCOWN) || defined(INCGRP)
|
||||
CPIOOWN= -R ${INCOWN}:${INCGRP}
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
-${RM} -fr ${PREFIX}/include/mozilla
|
||||
${MKDIR} ${PREFIX}/include/mozilla
|
||||
${CHMOD} 755 ${PREFIX}/include/mozilla
|
||||
cd ${WRKSRC}/dist/include && ${FIND} . | \
|
||||
cpio -pdm -L -R ${INCOWN}:${INCGRP} ${PREFIX}/include/mozilla
|
||||
cpio -pdm -L ${CPIOOWN} ${PREFIX}/include/mozilla
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -26,11 +26,15 @@ WRKSRC= ${WRKDIRPREFIX}${MAINDIR}/work/mozilla
|
||||
USE_GMAKE= yes
|
||||
ALL_TARGET= export
|
||||
|
||||
.if defined(INCOWN) || defined(INCGRP)
|
||||
CPIOOWN= -R ${INCOWN}:${INCGRP}
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
-${RM} -fr ${PREFIX}/include/mozilla
|
||||
${MKDIR} ${PREFIX}/include/mozilla
|
||||
${CHMOD} 755 ${PREFIX}/include/mozilla
|
||||
cd ${WRKSRC}/dist/include && ${FIND} . | \
|
||||
cpio -pdm -L -R ${INCOWN}:${INCGRP} ${PREFIX}/include/mozilla
|
||||
cpio -pdm -L ${CPIOOWN} ${PREFIX}/include/mozilla
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user