Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 298547 Details for
Bug 335108
dev-util/cmake picks always the latest boost
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Changes Modules/FindBoost.cmake to prefer the eselected version of dev-libs/boost.
FindBoost-eselect.patch (text/plain), 1.25 KB, created by
Duncan Exon Smith
on 2012-01-10 20:52:32 UTC
(
hide
)
Description:
Changes Modules/FindBoost.cmake to prefer the eselected version of dev-libs/boost.
Filename:
MIME Type:
Creator:
Duncan Exon Smith
Created:
2012-01-10 20:52:32 UTC
Size:
1.25 KB
patch
obsolete
>--- Modules/FindBoost.cmake 2012-01-10 15:46:54.319929166 -0500 >+++ Modules/FindBoost.cmake.original 2012-01-10 15:29:39.556025724 -0500 >@@ -449,24 +449,9 @@ > "${Boost_FIND_VERSION_MAJOR}.${Boost_FIND_VERSION_MINOR}.${Boost_FIND_VERSION_PATCH}" > "${Boost_FIND_VERSION_MAJOR}.${Boost_FIND_VERSION_MINOR}") > else(Boost_FIND_VERSION_EXACT) >- >- # Determine the system default library. >- execute_process( >- COMMAND "gawk" "$2 == \"BOOST_LIB_VERSION\" {print $3}" "/usr/include/boost/version.hpp" >- COMMAND "sed" "-e" "s/_/./g;s/\"//g" >- OUTPUT_VARIABLE _boost_SELECTED) >- >- # Determine the version without the ".0" or ".1", in case that finds it >- # better. >- string(REGEX REPLACE "([0-9]+)\\.([0-9]+)\\.([0-9]+)" "\\1.\\2" >- _boost_SELECTED_NO_PATCH ${_boost_SELECTED}) >- > # The user has not requested an exact version. Among known > # versions, find those that are acceptable to the user request. >- set(_Boost_KNOWN_VERSIONS >- ${_boost_SELECTED} >- ${_boost_SELECTED_NO_PATCH} >- ${Boost_ADDITIONAL_VERSIONS} >+ set(_Boost_KNOWN_VERSIONS ${Boost_ADDITIONAL_VERSIONS} > "1.46.1" > "1.46.0" "1.46" "1.45.0" "1.45" "1.44.0" "1.44" "1.43.0" "1.43" "1.42.0" "1.42" > "1.41.0" "1.41" "1.40.0" "1.40" "1.39.0" "1.39" "1.38.0" "1.38" "1.37.0" "1.37"
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 335108
:
298547
|
298549