FreeBSD Bugzilla – Attachment 231998 Details for
Bug 262109
Mk/Uses/python.mk: Improve CMake/Python integration
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
[patch] suport FindPython.cmake, FindPython3.cmake, FindPython2.cmake modules
pr-python.mk-more-cmake-knobs.diff (text/plain), 740 bytes, created by
John Hein
on 2022-02-21 22:37:15 UTC
(
hide
)
Description:
[patch] suport FindPython.cmake, FindPython3.cmake, FindPython2.cmake modules
Filename:
MIME Type:
Creator:
John Hein
Created:
2022-02-21 22:37:15 UTC
Size:
740 bytes
patch
obsolete
>diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk >index 2b411a27b35f..6b2ec624a32b 100644 >--- a/Mk/Uses/python.mk >+++ b/Mk/Uses/python.mk >@@ -652,6 +652,12 @@ CONFIGURE_ENV+= PYTHON="${PYTHON_CMD}" > # By default CMake picks up the highest available version of Python package. > # Enforce the version required by the port or the default. > CMAKE_ARGS+= -DPython_ADDITIONAL_VERSIONS=${PYTHON_VER} >+.if ${PYTHON_MAJOR_VER} == 3 >+CMAKE_ARGS+= -DPython3_EXECUTABLE:FILEPATH="${PYTHON_CMD}" >+.elif ${PYTHON_MAJOR_VER} == 2 >+CMAKE_ARGS+= -DPython2_EXECUTABLE:FILEPATH="${PYTHON_CMD}" >+.endif >+CMAKE_ARGS+= -DPython_EXECUTABLE:FILEPATH="${PYTHON_CMD}" > > # Python 3rd-party modules > PYGAME= ${PYTHON_PKGNAMEPREFIX}game>0:devel/py-game@${PY_FLAVOR}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 262109
:
231998
|
238988