summaryrefslogtreecommitdiff
path: root/www/serf
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2017-04-04 23:40:06 +0000
committergdt <gdt@pkgsrc.org>2017-04-04 23:40:06 +0000
commit07a8f14e1872324949488cc403e4c8a23195f9f7 (patch)
treea874f9ced3e5ae0b51b3cac6ffd9dc7068c8f427 /www/serf
parent566203f9406006ac86dedf45c9f360631ddd3f6f (diff)
downloadpkgsrc-07a8f14e1872324949488cc403e4c8a23195f9f7.tar.gz
Fix permissions after extraction
The upstream distfile incorrectly has world-writable files.
Diffstat (limited to 'www/serf')
-rw-r--r--www/serf/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/serf/Makefile b/www/serf/Makefile
index 5db557d9a66..80b2acc3de5 100644
--- a/www/serf/Makefile
+++ b/www/serf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2016/10/30 11:39:14 adam Exp $
+# $NetBSD: Makefile,v 1.37 2017/04/04 23:40:06 gdt Exp $
DISTNAME= serf-1.3.9
CATEGORIES= www
@@ -25,6 +25,10 @@ SCONS_ARGS+= --install-sandbox=${DESTDIR}
CFLAGS.SunOS+= -D__EXTENSIONS__
+# Upstream distfile incorrectly has world-writable files.
+post-extract:
+ ${CHMOD} -R go-w ${WRKSRC}
+
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/scons PREFIX=${PREFIX} ${SCONS_ARGS}