aboutsummaryrefslogtreecommitdiffstats
path: root/www/mozilla-headers
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-05-30 18:05:23 +0800
committeralfred <alfred@FreeBSD.org>2002-05-30 18:05:23 +0800
commit960505d081b747926b4afc9dd37f6a3485deb1ca (patch)
tree0eb2fa63f87828e282640ab3081404f98643c5de /www/mozilla-headers
parentac9126f3b94a5f3d456520aeda58d8df9518b941 (diff)
downloadfreebsd-ports-gnome-960505d081b747926b4afc9dd37f6a3485deb1ca.tar.gz
freebsd-ports-gnome-960505d081b747926b4afc9dd37f6a3485deb1ca.tar.zst
freebsd-ports-gnome-960505d081b747926b4afc9dd37f6a3485deb1ca.zip
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
Diffstat (limited to 'www/mozilla-headers')
-rw-r--r--www/mozilla-headers/Makefile6
1 files changed, 5 insertions, 1 deletions
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 <bsd.port.mk>