aboutsummaryrefslogtreecommitdiffstats
path: root/www/mozilla-headers
diff options
context:
space:
mode:
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>