summaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-09-27 19:30:20 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-09-27 19:30:20 +0000
commit7d33b22118b791e5fbc73652a42962b26bf5426e (patch)
tree92ae048c0c15152fa5f46dcd0c77244308a3ade7 /biology
parentAdd rubygem-zonefile 1.06 (diff)
Update PYTHON option to use Python 3
Notes
Notes: svn path=/head/; revision=550299
Diffstat (limited to 'biology')
-rw-r--r--biology/libsbml/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/biology/libsbml/Makefile b/biology/libsbml/Makefile
index dddeddd54ae1..1ca440f7bb5b 100644
--- a/biology/libsbml/Makefile
+++ b/biology/libsbml/Makefile
@@ -26,14 +26,11 @@ OPTIONS_DEFINE= EXAMPLES PYTHON RUBY
OPTIONS_SUB= yes
PYTHON_BUILD_DEPENDS= swig:devel/swig
-PYTHON_USES= python:2.7
PYTHON_CMAKE_BOOL= WITH_PYTHON
-PYTHON_CMAKE_ON= -DPYTHON_EXECUTABLE="${PYTHON_CMD}" \
- -DPYTHON_INCLUDE_DIR="${PYTHON_INCLUDEDIR}" \
- -DPYTHON_LIBRARY="${PYTHONBASE}/lib/lib${PYTHON_VERSION}.so"
+PYTHON_USES= python
RUBY_BUILD_DEPENDS= swig:devel/swig
-RUBY_USE= ruby=yes
RUBY_CMAKE_BOOL= WITH_RUBY
+RUBY_USE= ruby=yes
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g; /$${DOCUMENTATION_FILES}/ s|^|#|' ${WRKSRC}/CMakeLists.txt