summaryrefslogtreecommitdiff
path: root/www/apache
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2002-11-18 10:36:35 +0000
committertron <tron@pkgsrc.org>2002-11-18 10:36:35 +0000
commitfaef62d0af4d68079a2ebb631100f31d29a7a566 (patch)
treec426345dd0b062ed4040c898d29d739247186f14 /www/apache
parentfc76123fb39b5ccea7ccb62ddc782bce12396fc9 (diff)
downloadpkgsrc-faef62d0af4d68079a2ebb631100f31d29a7a566.tar.gz
Use "${NONBINMODE}" instead of mode "0" so that "pkg_admin check" still
works for a normal user. Also invoke "chmod" only once because fork() and exec() is expensive on certain platforms.
Diffstat (limited to 'www/apache')
-rw-r--r--www/apache/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/apache/Makefile b/www/apache/Makefile
index 942ec6db31d..fdb9d6db47f 100644
--- a/www/apache/Makefile
+++ b/www/apache/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.113 2002/11/18 08:19:37 martti Exp $
+# $NetBSD: Makefile,v 1.114 2002/11/18 10:36:35 tron Exp $
#
# This pkg does not compile in mod_ssl, only the `mod_ssl EAPI' (a set of
# code hooks that allow mod_ssl to be compiled separately later, if desired).
@@ -188,8 +188,8 @@ post-install:
${RM} -f ${PKG_SYSCONFDIR}/$${file}.default; \
done
${INSTALL_DATA} ${DISTDIR}/sitedrivenby.gif ${PREFIX}/share/httpd/htdocs
- ${CHMOD} 0 ${PREFIX}/libexec/cgi-bin/printenv
- ${CHMOD} 0 ${PREFIX}/libexec/cgi-bin/test-cgi
+ ${CHMOD} ${NONBINMODE} ${PREFIX}/libexec/cgi-bin/printenv \
+ ${NONBINMODE} ${PREFIX}/libexec/cgi-bin/test-cgi
.include "../../devel/libmm/buildlink2.mk"
.include "../../textproc/expat/buildlink2.mk"