Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 388757

Summary: dev-util/cmake-2.8.6-r1 broken FindLAPACK patch
Product: Gentoo Linux Reporter: Matthias Raffelsieper <hoschiraffel>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: normal CC: kde, stefantalpalaru
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Corrected FindLAPACK patch

Description Matthias Raffelsieper 2011-10-28 09:46:17 UTC
The Gentoo patch for the FindLAPACK.cmake module is broken: it saves the CMAKE_FIND_LIBRARY_SUFFIXES only if pkg-config could not find LAPACK, thereby resetting them when pkg-config succeeds. The endif(NOT LAPACK_FOUND) of the added IF should be moved down to the end.

Attached is a corrected version of the patch that should be dropped in the files directory.

Reproducible: Always
Comment 1 Matthias Raffelsieper 2011-10-28 09:47:00 UTC
Created attachment 291075 [details, diff]
Corrected FindLAPACK patch
Comment 2 Ștefan Talpalaru 2011-10-29 13:00:58 UTC
The patch works. I'm now able to compile hugin with 'lapack' enabled.
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2011-10-29 21:49:45 UTC
Fixed in 2.8.6-r2, thanks!