Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 335088 Details for
Bug 405181
dev-util/cmake: FindPythonLibs behaviour broken by Gentoo patches
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
cmake-2.8.10.2-FindPythonInterp.patch
cmake-2.8.10.2-FindPythonInterp.patch (text/plain), 651 bytes, created by
Arfrever Frehtes Taifersar Arahesis
on 2013-01-10 19:35:17 UTC
(
hide
)
Description:
cmake-2.8.10.2-FindPythonInterp.patch
Filename:
MIME Type:
Creator:
Arfrever Frehtes Taifersar Arahesis
Created:
2013-01-10 19:35:17 UTC
Size:
651 bytes
patch
obsolete
>--- Modules/FindPythonInterp.cmake >+++ Modules/FindPythonInterp.cmake >@@ -60,6 +60,10 @@ > > list(APPEND _Python_NAMES python) > >+if (CMAKE_BUILD_TYPE STREQUAL Gentoo) >+ set(_Python_NAMES python) >+endif() >+ > # Search for the current active python version first > find_program(PYTHON_EXECUTABLE NAMES ${_Python_NAMES}) > >@@ -76,7 +80,7 @@ > unset(_PYTHON3_VERSIONS) > > # Search for newest python version if python executable isn't found >-if(NOT PYTHON_EXECUTABLE) >+if(NOT PYTHON_EXECUTABLE AND NOT CMAKE_BUILD_TYPE STREQUAL Gentoo) > foreach(_CURRENT_VERSION ${_Python_VERSIONS}) > set(_Python_NAMES python${_CURRENT_VERSION}) > if(WIN32)
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 405181
:
309863
| 335088