diff options
author | wiz <wiz@pkgsrc.org> | 2014-01-25 10:45:50 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2014-01-25 10:45:50 +0000 |
commit | 1fce9aa23e7f127de598ff424d821422995a1fd3 (patch) | |
tree | 0808ded13cb865b72067ff3e3d1219fb93a2cec7 /lang | |
parent | 88ae1948ea2a19ba29e276a5fe65983c60e159fa (diff) | |
download | pkgsrc-1fce9aa23e7f127de598ff424d821422995a1fd3.tar.gz |
Remove support for PYTHON_PATCH_SCRIPTS; use REPLACE_PYTHON.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/python/application.mk | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lang/python/application.mk b/lang/python/application.mk index 6a8134522de..a4001371ec1 100644 --- a/lang/python/application.mk +++ b/lang/python/application.mk @@ -1,4 +1,4 @@ -# $NetBSD: application.mk,v 1.10 2010/07/24 18:12:11 gdt Exp $ +# $NetBSD: application.mk,v 1.11 2014/01/25 10:45:50 wiz Exp $ # # Replace the #! interpreter for Python scripts. # @@ -12,17 +12,14 @@ # REPLACE_PYTHON # A list of Python scripts to be installed, relative to ${WRKSRC}. # -# PYTHON_PATCH_SCRIPTS -# The same as REPLACE_PYTHON. -# # Keywords: python # .include "../../lang/python/pyversion.mk" -.if defined(PYTHON_PATCH_SCRIPTS) || defined(REPLACE_PYTHON) +.if defined(REPLACE_PYTHON) REPLACE_INTERPRETER+= python REPLACE.python.old= .*python[^ ]* REPLACE.python.new= ${PYTHONBIN} -REPLACE_FILES.python= ${PYTHON_PATCH_SCRIPTS} ${REPLACE_PYTHON} +REPLACE_FILES.python= ${REPLACE_PYTHON} .endif |