#42886: gildas @201402b_1 New port --------------------------------+-------------------------------- Reporter: sebastien.maret@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: | --------------------------------+-------------------------------- Comment (by sean@…): Replying to [comment:12 sebastien.maret@…]:
Replying to [comment:9 sean@…]:
- opportunistic linking with ATLAS
Probably this can be fixed by replacing:
{{{source admin/gildas-env.sh -c ${configure.fc} -s ${prefix}/include:${prefix}/lib:/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Versions/Current/}}}
with:
{{{source admin/gildas-env.sh -c ${configure.fc} -s /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Versions/Current/:${prefix}/include:${prefix}/lib}}}
Actually, it's tougher than that. In general, one needs to make sure not to use -llapack / -lblas when ATLAS is present, else the linker will pick them up in `${prefix}/lib`. So, I fixed it by replacing all the -llapack and -lblas references with '-framework Accelerate' and '-framework vecLib'. The only wart left is that gtk2 must be installed with the +x11 variant (which conflicts with +quartz). I can attach my patch to make it build with gtk2+quartz but it crashes upon starting up. -- Ticket URL: <https://trac.macports.org/ticket/42886#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X