summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2004-11-30 06:50:56 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2004-11-30 06:50:56 +0000
commita7dcde9735f76b92422fd69046ebeb2c6272c180 (patch)
treeb430cc861c38e8da9ae66a39e6137012139a7ca7
parentUpdate to 1.4.3. (diff)
don't assume superuser privilege at do-extract.
-rw-r--r--www/linux-mozilla/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/linux-mozilla/Makefile b/www/linux-mozilla/Makefile
index 023b0d0cd2ce..8b38ff1bb0d3 100644
--- a/www/linux-mozilla/Makefile
+++ b/www/linux-mozilla/Makefile
@@ -65,8 +65,6 @@ do-extract:
${MKDIR} ${WRKSRC}
.for i in ${DISTFILES}
${UNZIP_CMD} -qo ${DISTDIR}/${DIST_SUBDIR}/${i} -d ${WRKSRC}
- ${CHMOD} -R a-w ${WRKSRC}
- ${CHOWN} -R 0:0 ${WRKSRC}
.endfor
do-configure:
@@ -109,6 +107,8 @@ pre-install:
do-install:
${MKDIR} ${INSTALL_DIR}
${CP} -Rp ${WRKSRC}/bin/* ${INSTALL_DIR}
+ ${CHOWN} -R ${BINOWN}:${BINGRP} ${INSTALL_DIR}
+ ${CHMOD} -R a-w ${INSTALL_DIR}
${INSTALL_SCRIPT} ${WRKDIR}/${STARTUP_CMD} ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKDIR}/linkfarm ${PREFIX}/lib/linux-mozilla/