aboutsummaryrefslogtreecommitdiff
path: root/www/mozilla-headers-vendor/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/mozilla-headers-vendor/Makefile')
-rw-r--r--www/mozilla-headers-vendor/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/mozilla-headers-vendor/Makefile b/www/mozilla-headers-vendor/Makefile
index 6d584cc42f88..993322d945d8 100644
--- a/www/mozilla-headers-vendor/Makefile
+++ b/www/mozilla-headers-vendor/Makefile
@@ -27,9 +27,10 @@ USE_GMAKE= yes
ALL_TARGET= export
do-install:
+ -${RM} -fr ${PREFIX}/include/mozilla
${MKDIR} ${PREFIX}/include/mozilla
${CHMOD} 755 ${PREFIX}/include/mozilla
- ${TAR} -C ${WRKSRC}/dist/include -chf - . | \
- ${TAR} -C ${PREFIX}/include/mozilla --unlink -xf -
+ cd ${WRKSRC}/dist/include && ${FIND} . | \
+ cpio -pdm -L -R ${INCOWN}:${INCGRP} ${PREFIX}/include/mozilla
.include <bsd.port.mk>