Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Sep 2020 19:30:20 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r550299 - head/biology/libsbml
Message-ID:  <202009271930.08RJUKC3034483@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Sep 27 19:30:20 2020
New Revision: 550299
URL: https://svnweb.freebsd.org/changeset/ports/550299

Log:
  Update PYTHON option to use Python 3

Modified:
  head/biology/libsbml/Makefile

Modified: head/biology/libsbml/Makefile
==============================================================================
--- head/biology/libsbml/Makefile	Sun Sep 27 19:30:12 2020	(r550298)
+++ head/biology/libsbml/Makefile	Sun Sep 27 19:30:20 2020	(r550299)
@@ -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



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