Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 388757 - dev-util/cmake-2.8.6-r1 broken FindLAPACK patch
Summary: dev-util/cmake-2.8.6-r1 broken FindLAPACK patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-28 09:46 UTC by Matthias Raffelsieper
Modified: 2011-10-29 21:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Corrected FindLAPACK patch (cmake-2.8.6-FindLAPACK.patch,1.12 KB, patch)
2011-10-28 09:47 UTC, Matthias Raffelsieper
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!