From 21a3651d10acd30440c095a20a1b6a02eb0e8db2 Mon Sep 17 00:00:00 2001 From: martti Date: Tue, 19 Nov 2002 09:35:27 +0000 Subject: Pullup revisions 1.114 and 1.115 from www/apache/Makefile: 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/apache6/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'www') diff --git a/www/apache6/Makefile b/www/apache6/Makefile index cbd7d42df61..9822614ce1b 100644 --- a/www/apache6/Makefile +++ b/www/apache6/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.62 2002/11/18 08:19:55 martti Exp $ +# $NetBSD: Makefile,v 1.63 2002/11/19 09:35:27 martti Exp $ # # This package does not compile in mod_ssl support hooks, as it conflicts # with IPv6-enable patch. @@ -166,8 +166,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 \ + ${PREFIX}/libexec/cgi-bin/test-cgi .include "../../textproc/expat/buildlink2.mk" -- cgit v1.2.3