mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Update PYTHON option to use Python 3
This commit is contained in:
parent
64217076cc
commit
7d33b22118
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=550299
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user