summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2017-07-03 18:13:43 +0000
committerjoerg <joerg@pkgsrc.org>2017-07-03 18:13:43 +0000
commitc0ca84e4163590619419f6116fa5ae3d10ad487c (patch)
tree7df00d40ab8ac3091549d384863d265b34846cda /lang/python
parent31b96262ed50226346f32afc2053d41e59bd181b (diff)
downloadpkgsrc-c0ca84e4163590619419f6116fa5ae3d10ad487c.tar.gz
Recognize python3 as interpreter for replacement.
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/application.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/python/application.mk b/lang/python/application.mk
index a4001371ec1..a469451cef6 100644
--- a/lang/python/application.mk
+++ b/lang/python/application.mk
@@ -1,4 +1,4 @@
-# $NetBSD: application.mk,v 1.11 2014/01/25 10:45:50 wiz Exp $
+# $NetBSD: application.mk,v 1.12 2017/07/03 18:13:43 joerg Exp $
#
# Replace the #! interpreter for Python scripts.
#
@@ -19,7 +19,7 @@
.if defined(REPLACE_PYTHON)
REPLACE_INTERPRETER+= python
-REPLACE.python.old= .*python[^ ]*
+REPLACE.python.old= .*python3\{0,1\}[^ ]*
REPLACE.python.new= ${PYTHONBIN}
REPLACE_FILES.python= ${REPLACE_PYTHON}
.endif