Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 May 2013 19:16:13 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r319448 - head/sysutils/htop
Message-ID:  <201305301916.r4UJGD5t017791@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}; }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305301916.r4UJGD5t017791>