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 | 4ab5bedd96bfe683e7697334fad05248d4109848 (patch) | |
tree | 0808ded13cb865b72067ff3e3d1219fb93a2cec7 | |
parent | cd2034a69a241488c900469d394306659c70713a (diff) | |
download | pkgsrc-4ab5bedd96bfe683e7697334fad05248d4109848.tar.gz |
Remove support for PYTHON_PATCH_SCRIPTS; use REPLACE_PYTHON.
-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 |