From d1742db94e44817130ab96eed8343e96068e937d Mon Sep 17 00:00:00 2001 From: Johannes Huber Date: Fri, 13 Jan 2012 10:02:13 +0100 Subject: [dev-util/cmake] Revision bump. Adds new FindBoost.cmake patch which fixes bug 335108. (Portage version: 2.2.0_alpha84/git/Linux i686, unsigned Manifest commit) --- dev-util/cmake/files/cmake-2.8.6-FindBLAS-2.patch | 35 +++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 dev-util/cmake/files/cmake-2.8.6-FindBLAS-2.patch (limited to 'dev-util/cmake/files/cmake-2.8.6-FindBLAS-2.patch') diff --git a/dev-util/cmake/files/cmake-2.8.6-FindBLAS-2.patch b/dev-util/cmake/files/cmake-2.8.6-FindBLAS-2.patch new file mode 100644 index 00000000000..16b6480f577 --- /dev/null +++ b/dev-util/cmake/files/cmake-2.8.6-FindBLAS-2.patch @@ -0,0 +1,35 @@ +diff -ruN cmake-2.8.6.orig/Modules/FindBLAS.cmake cmake-2.8.6/Modules/FindBLAS.cmake +--- cmake-2.8.6.orig/Modules/FindBLAS.cmake 2011-10-04 18:09:24.000000000 +0200 ++++ cmake-2.8.6/Modules/FindBLAS.cmake 2011-11-22 23:04:17.000000000 +0100 +@@ -1,3 +1,9 @@ ++# ++# Version modified for Gentoo Linux ++# If a valid PkgConfig configuration for blas is found, this overrides and cancels ++# all further checks. ++# ++ + # - Find BLAS library + # This module finds an installed fortran library that implements the BLAS + # linear-algebra interface (see http://www.netlib.org/blas/). +@@ -39,6 +45,14 @@ + # (To distribute this file outside of CMake, substitute the full + # License text for the above reference.) + ++# ++# first, try PkgConfig ++# ++find_package(PkgConfig REQUIRED) ++pkg_check_modules(BLAS blas) ++if(NOT BLAS_FOUND) ++message(STATUS "No PkgConfig configuration for BLAS found; starting more extensive search.") ++ + include(CheckFunctionExists) + include(CheckFortranFunctionExists) + +@@ -622,3 +636,6 @@ + endif(BLA_F95) + + set(CMAKE_FIND_LIBRARY_SUFFIXES ${_blas_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES}) ++ ++endif(NOT BLAS_FOUND) ++ -- cgit v1.2.3