diff options
author | Alfred Perlstein <alfred@FreeBSD.org> | 2002-05-30 10:05:23 +0000 |
---|---|---|
committer | Alfred Perlstein <alfred@FreeBSD.org> | 2002-05-30 10:05:23 +0000 |
commit | 05ff8debcd47d119bdc1ab2d96f0a9ca34cbfe84 (patch) | |
tree | 09ad6dfc1177d4a6dd73569f4161b4022434828b /www/mozilla-headers | |
parent | 38b203a00ef152f4908688272f8889f8ce0e6466 (diff) | |
download | ports-05ff8debcd47d119bdc1ab2d96f0a9ca34cbfe84.tar.gz ports-05ff8debcd47d119bdc1ab2d96f0a9ca34cbfe84.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
Notes
Notes:
svn path=/head/; revision=60278
Diffstat (limited to 'www/mozilla-headers')
-rw-r--r-- | www/mozilla-headers/Makefile | 6 |
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> |