diff options
author | joerg <joerg@pkgsrc.org> | 2017-07-03 18:13:43 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2017-07-03 18:13:43 +0000 |
commit | c0ca84e4163590619419f6116fa5ae3d10ad487c (patch) | |
tree | 7df00d40ab8ac3091549d384863d265b34846cda /lang/python | |
parent | 31b96262ed50226346f32afc2053d41e59bd181b (diff) | |
download | pkgsrc-c0ca84e4163590619419f6116fa5ae3d10ad487c.tar.gz |
Recognize python3 as interpreter for replacement.
Diffstat (limited to 'lang/python')
-rw-r--r-- | lang/python/application.mk | 4 |
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 |