diff options
author | antoine <antoine@FreeBSD.org> | 2015-07-30 06:09:53 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2015-07-30 06:09:53 +0800 |
commit | 303e73dabd702e19dae0638e402b7adedc2e63d0 (patch) | |
tree | 39f5db5e677aac0352369cb6e46374b5bd11a774 /textproc | |
parent | f1cfa348702ffe72cc29c7129885253c7d19e090 (diff) | |
download | freebsd-ports-gnome-303e73dabd702e19dae0638e402b7adedc2e63d0.tar.gz freebsd-ports-gnome-303e73dabd702e19dae0638e402b7adedc2e63d0.tar.zst freebsd-ports-gnome-303e73dabd702e19dae0638e402b7adedc2e63d0.zip |
Switch default python_CMD used by shebangfix to ${PYTHON_CMD} for ports
using python
PR: 201077
Reviewed by: mat
With hat: portmgr
Differential Revision: https://reviews.freebsd.org/D2955
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/asciidoc/Makefile | 3 | ||||
-rw-r--r-- | textproc/py2html/Makefile | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/textproc/asciidoc/Makefile b/textproc/asciidoc/Makefile index 2836d2944153..b45cddcf2f22 100644 --- a/textproc/asciidoc/Makefile +++ b/textproc/asciidoc/Makefile @@ -34,8 +34,7 @@ SHEBANG_FILES= a2x.py \ filters/graphviz/graphviz2png.py \ filters/music/music2png.py \ filters/code/code-filter.py -python_OLD_CMD= ${SETENV} python -python_CMD= ${PYTHON_CMD} +python_OLD_CMD= /usr/bin/env python post-patch: @${REINPLACE_CMD} -e '/^INSTALL_PROG/ s|INSTALL_PROGRAM|INSTALL_SCRIPT|; s|\.conf|&.sample|' ${WRKSRC}/Makefile.in diff --git a/textproc/py2html/Makefile b/textproc/py2html/Makefile index e8bcd221669a..63958d2e0ae9 100644 --- a/textproc/py2html/Makefile +++ b/textproc/py2html/Makefile @@ -14,7 +14,6 @@ USES= python:2 shebangfix USE_PYTHON= distutils autoplist python_OLD_CMD= /usr/bin/env python -python_CMD= ${PYTHON_CMD} SHEBANG_FILES= py2html .include <bsd.port.mk> |