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

Bug 267277

Summary: sci-libs/lapack-reference-3.1.1-r1 needs osx fix.
Product: Gentoo/Alt Reporter: Maximilian Nickel <max>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: OS X   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 267282    
Attachments: Patch to make ebuild acknowledge EPREFIX
eselect config file

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.