From 960505d081b747926b4afc9dd37f6a3485deb1ca Mon Sep 17 00:00:00 2001 From: alfred Date: Thu, 30 May 2002 10:05:23 +0000 Subject: 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 --- www/mozilla-headers-devel/Makefile | 6 +++++- www/mozilla-headers-vendor/Makefile | 6 +++++- www/mozilla-headers/Makefile | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) (limited to 'www') diff --git a/www/mozilla-headers-devel/Makefile b/www/mozilla-headers-devel/Makefile index 993322d945d8..aebb4df8b12f 100644 --- a/www/mozilla-headers-devel/Makefile +++ b/www/mozilla-headers-devel/Makefile @@ -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 diff --git a/www/mozilla-headers-vendor/Makefile b/www/mozilla-headers-vendor/Makefile index 993322d945d8..aebb4df8b12f 100644 --- a/www/mozilla-headers-vendor/Makefile +++ b/www/mozilla-headers-vendor/Makefile @@ -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 diff --git a/www/mozilla-headers/Makefile b/www/mozilla-headers/Makefile index 993322d945d8..aebb4df8b12f 100644 --- a/www/mozilla-headers/Makefile +++ b/www/mozilla-headers/Makefile @@ -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 -- cgit