summaryrefslogtreecommitdiffstats
path: root/www/mozilla-vendor
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-04-13 17:06:30 +0000
committermarcus <marcus@FreeBSD.org>2002-04-13 17:06:30 +0000
commit1caadb6517f2445949ddd167e1934429c8a29a64 (patch)
tree88a6c657616965969da0e297fed2adfb14135b8c /www/mozilla-vendor
parent51f19cd19f8734caa6d726efd82cc0f70ffdad01 (diff)
downloadFreeBSD-ports-1caadb6517f2445949ddd167e1934429c8a29a64.zip
FreeBSD-ports-1caadb6517f2445949ddd167e1934429c8a29a64.tar.gz
Allow installed files to have correct permissions when built by a non-root
user. PR: 35980 Submitted by: Alan Eldridge <ports@geeksrus.net> Reviewed by: sobomax Approved by: sobomax
Diffstat (limited to 'www/mozilla-vendor')
-rw-r--r--www/mozilla-vendor/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/mozilla-vendor/Makefile b/www/mozilla-vendor/Makefile
index c8b1ac8..6ccbee4 100644
--- a/www/mozilla-vendor/Makefile
+++ b/www/mozilla-vendor/Makefile
@@ -86,8 +86,8 @@ post-build:
do-install:
${MKDIR} ${PREFIX}/lib/mozilla
${CHMOD} 755 ${PREFIX}/lib/mozilla
- cd ${WRKSRC}/dist/bin && ${TAR} -chf - . | \
- ${TAR} -xf - -C ${PREFIX}/lib/mozilla
+ cd ${WRKSRC}/dist/bin && ${FIND} . | \
+ cpio -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/mozilla
${INSTALL_SCRIPT} ${WRKSRC}/mozilla ${PREFIX}/bin
${LN} -sf ${LOCALBASE}/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so \
${PREFIX}/lib/mozilla/plugins/libjavaplugin_oji.so
OpenPOWER on IntegriCloud