1
0
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:
Alfred Perlstein 2002-05-30 10:05:23 +00:00
parent 38b203a00e
commit 05ff8debcd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60278
3 changed files with 15 additions and 3 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>