summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorgdt <gdt>2011-03-04 19:56:51 +0000
committergdt <gdt>2011-03-04 19:56:51 +0000
commitcd17c9769c9ca764dcc38c12f7c9e965b411d9bd (patch)
treed225087a1d1e28efef89af5bb03563af09eefb3b /www
parentf642a065f05d113fb200009f52bbd5d20997e191 (diff)
downloadpkgsrc-cd17c9769c9ca764dcc38c12f7c9e965b411d9bd.tar.gz
chmod +w file copied into WRKDIR.
Don't assume sources are writeble. Fixes build with CVSREAD=t.
Diffstat (limited to 'www')
-rw-r--r--www/squid/Makefile.squid3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/squid/Makefile.squid b/www/squid/Makefile.squid
index 2c5cac20b62..a5a90099c53 100644
--- a/www/squid/Makefile.squid
+++ b/www/squid/Makefile.squid
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.squid,v 1.18 2010/07/29 03:04:16 taca Exp $
+# $NetBSD: Makefile.squid,v 1.19 2011/03/04 19:56:51 gdt Exp $
#
# used by www/squid27/Makefile
# used by www/squid31/Makefile
@@ -82,6 +82,7 @@ post-install: ${POST_INSTALL_EXTRA}
done
${CHMOD} -w ${DESTDIR}${PREFIX}/libexec/pinger
${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
+ ${CHMOD} +w ${PLIST_SRC}
(${FIND} ${DESTDIR}${PREFIX}/share/squid/errors \! -type d -print; \
${FIND} ${DESTDIR}${PREFIX}/share/squid/icons \! -type d -print) | \
${SED} -e 's#^${DESTDIR}${PREFIX}/##' | ${SORT} >>${PLIST_SRC}