aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2013-05-31 03:16:13 +0800
committereadler <eadler@FreeBSD.org>2013-05-31 03:16:13 +0800
commit6d2aa17cef96c56cd76399eb1fad84035f3abf67 (patch)
treef732a74a58f2474039b48560841b8fcfc0e5ca5e /sysutils
parentce8e0693f264fa76e32761cbe59f5fe31e6a9c40 (diff)
downloadfreebsd-ports-gnome-6d2aa17cef96c56cd76399eb1fad84035f3abf67.tar.gz
freebsd-ports-gnome-6d2aa17cef96c56cd76399eb1fad84035f3abf67.tar.zst
freebsd-ports-gnome-6d2aa17cef96c56cd76399eb1fad84035f3abf67.zip
Let htop build when python 3 is default.
Approved by: maintainer timeout (2 weeks)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/htop/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/htop/Makefile b/sysutils/htop/Makefile
index 7be57bac99d7..0602ddbdf699 100644
--- a/sysutils/htop/Makefile
+++ b/sysutils/htop/Makefile
@@ -27,7 +27,7 @@ USES= ncurses
USE_AUTOTOOLS= autoconf aclocal automake libtool
ACLOCAL_ARGS= -I ${ACLOCAL_DIR}
-USE_PYTHON_BUILD= yes
+USE_PYTHON_BUILD= -2.7
MAN1= htop.1
@@ -38,7 +38,7 @@ RUN_DEPENDS+= lsof:${PORTSDIR}/sysutils/lsof
.endif
post-patch:
- @${REINPLACE_CMD} -e 's:/usr/bin/python:${LOCALBASE}/bin/python:' ${WRKSRC}/scripts/MakeHeader.py
+ @${REINPLACE_CMD} -e 's:/usr/bin/python:${PYTHON_CMD}:' ${WRKSRC}/scripts/MakeHeader.py
pre-configure:
@[ -f /compat/linux/proc/stat ] || { ${CAT} ${PKGMESSAGE}; ${FALSE}; }