aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2015-07-30 06:09:53 +0800
committerAntoine Brodin <antoine@FreeBSD.org>2015-07-30 06:09:53 +0800
commit6e381a9d5323dc4984a1f1ddeb2ffbaa7deeec9c (patch)
tree39f5db5e677aac0352369cb6e46374b5bd11a774 /textproc
parent71c37a22dfbe5fdf7ff290ef8fcfa63c72e0cc77 (diff)
downloadfreebsd-ports-gnome-6e381a9d5323dc4984a1f1ddeb2ffbaa7deeec9c.tar.gz
freebsd-ports-gnome-6e381a9d5323dc4984a1f1ddeb2ffbaa7deeec9c.tar.zst
freebsd-ports-gnome-6e381a9d5323dc4984a1f1ddeb2ffbaa7deeec9c.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/Makefile3
-rw-r--r--textproc/py2html/Makefile1
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>