svn commit: r319448 - head/sysutils/htop

Eitan Adler eadler at FreeBSD.org
Thu May 30 19:16:13 UTC 2013


Author: eadler
Date: Thu May 30 19:16:13 2013
New Revision: 319448
URL: http://svnweb.freebsd.org/changeset/ports/319448

Log:
  Let htop build when python 3 is default.
  
  Approved by:	maintainer timeout (2 weeks)

Modified:
  head/sysutils/htop/Makefile

Modified: head/sysutils/htop/Makefile
==============================================================================
--- head/sysutils/htop/Makefile	Thu May 30 19:14:44 2013	(r319447)
+++ head/sysutils/htop/Makefile	Thu May 30 19:16:13 2013	(r319448)
@@ -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/
 .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}; }


More information about the svn-ports-all mailing list