Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267277 - sci-libs/lapack-reference-3.1.1-r1 needs osx fix.
Summary: sci-libs/lapack-reference-3.1.1-r1 needs osx fix.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 267282
  Show dependency tree
 
Reported: 2009-04-23 22:26 UTC by Maximilian Nickel
Modified: 2009-04-28 18:49 UTC (History)
0 users

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


Attachments
Patch to make ebuild acknowledge EPREFIX (lapack-reference-3.1.1-r2.diff,447 bytes, patch)
2009-04-23 22:27 UTC, Maximilian Nickel
Details | Diff
eselect config file (eselect.lapack.reference,249 bytes, text/plain)
2009-04-24 22:39 UTC, Maximilian Nickel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maximilian Nickel 2009-04-23 22:26:57 UTC
Currently the lapack-reference ebuild would install the libs in /usr, as the ebuild doesnt set --libdir with ${ROOT}.
Following the EROOT/EPREFIX rule i just added EPREFIX to the ebuild, but a better fix might be to replace EPREFIX with ROOT
Comment 1 Maximilian Nickel 2009-04-23 22:27:45 UTC
Created attachment 189266 [details, diff]
Patch to make ebuild acknowledge EPREFIX
Comment 2 Maximilian Nickel 2009-04-24 22:39:02 UTC
Created attachment 189356 [details]
eselect config file

Should replace the original ${FILESDIR}/eselect.lapack.reference. Changes .so* to .dylib*
Comment 3 Maximilian Nickel 2009-04-25 00:52:06 UTC
I forgot to add that the eselect.lapack.reference file of course is only for OS X. I wasn't sure what would be the standard way to solve this (keyword check and sed in the ebuild?), so i just attached the file how it should look like when installed on OS X
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-04-28 14:58:15 UTC
I added this but I am not sure what to do about the osx issue there. I'll think about it.
Comment 5 Fabian Groffen gentoo-dev 2009-04-28 15:54:03 UTC
I propose adding a eselect.lapack.reference.Darwin file and using that instead of the normal one for Darwin users.
Comment 6 Fabian Groffen gentoo-dev 2009-04-28 18:49:26 UTC
I added the darwin equivalent with dylibs.