1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Let htop build when python 3 is default.

Approved by:	maintainer timeout (2 weeks)
This commit is contained in:
Eitan Adler 2013-05-30 19:16:13 +00:00
parent 9fb0a124dd
commit cf3dff6c04
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=319448

View File

@ -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}; }