From faef62d0af4d68079a2ebb631100f31d29a7a566 Mon Sep 17 00:00:00 2001 From: tron Date: Mon, 18 Nov 2002 10:36:35 +0000 Subject: 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. --- www/apache/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'www/apache') 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" -- cgit v1.2.3