Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2013 17:50:37 +0000 (UTC)
From:      Marcus von Appen <mva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335208 - head/devel/zookeeper
Message-ID:  <201311291750.rATHobsn041642@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mva
Date: Fri Nov 29 17:50:36 2013
New Revision: 335208
URL: http://svnweb.freebsd.org/changeset/ports/335208

Log:
  - Fix the usage of 'python' to get rid of the implicit lang/python
    dependency
  
  Approved by:	gnn@ (maintainer)

Modified:
  head/devel/zookeeper/Makefile   (contents, props changed)

Modified: head/devel/zookeeper/Makefile
==============================================================================
--- head/devel/zookeeper/Makefile	Fri Nov 29 17:40:21 2013	(r335207)
+++ head/devel/zookeeper/Makefile	Fri Nov 29 17:50:36 2013	(r335208)
@@ -49,7 +49,7 @@ NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MPYTHON}
-USE_PYTHON=	yes
+USE_PYTHON=	-2.7
 BUILD_DEPENDS+=	ant:${PORTSDIR}/devel/apache-ant
 PLIST_SUB+=	WITH_PYTHON=""
 .else
@@ -75,6 +75,10 @@ run-autotools:
 	${SETENV} ${AUTOTOOLS_ENV} ${AUTORECONF} -if
 .endif
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|executable="python"|executable="${PYTHON_CMD}"|' \
+		${PYTHON_BINDING_WRKSRC}/build.xml
+
 do-build:
 .if ${PORT_OPTIONS:MC}
 	cd ${CONFIGURE_WRKSRC} && \



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