svn commit: r335208 - head/devel/zookeeper
Marcus von Appen
mva at FreeBSD.org
Fri Nov 29 17:50:37 UTC 2013
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} && \
More information about the svn-ports-all
mailing list