summaryrefslogtreecommitdiff
path: root/lang/python/extension.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python/extension.mk')
-rw-r--r--lang/python/extension.mk8
1 files changed, 2 insertions, 6 deletions
diff --git a/lang/python/extension.mk b/lang/python/extension.mk
index 6c4207883fb..046b17f89b9 100644
--- a/lang/python/extension.mk
+++ b/lang/python/extension.mk
@@ -1,4 +1,4 @@
-# $NetBSD: extension.mk,v 1.45 2016/05/21 05:22:40 richard Exp $
+# $NetBSD: extension.mk,v 1.46 2016/05/28 11:23:46 richard Exp $
.include "../../lang/python/pyversion.mk"
@@ -28,11 +28,7 @@ PYSETUPTESTTARGET?= test
PYSETUPTESTARGS?= #empty
PYSETUPSUBDIR?= #empty
-post-install: fixup-python-writeable-source
-.PHONY: fixup-python-writeable-source
-fixup-python-writeable-source:
- ${FIND} ${DESTDIR} -type f \( -perm -g+w -o -perm -o+w \) \
- -exec ${CHMOD} go-w '{}' +
+CHECK_PERMS_AUTOFIX= yes # fixup most mode related warnings/errors
do-build:
(cd ${WRKSRC}/${PYSETUPSUBDIR} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} \