#18173: Atlas - 3.8.2 - New Portfile ------------------------------+--------------------------------------------- Reporter: krunk7@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: ------------------------------+--------------------------------------------- The attached portfile and patches fix ticket #17968 as well as adding several improvements over the previous Portfile. Since it is basically a full rewrite, I'm submitting complete files instead of a patch. Notify if patch is preferred. Improvements: * Fixes mixed arch error from bug #17968 * Compiles an optimized lapack library per Atlas documentation section 3.1.2 * Creates dynamic libraries per Atlas documentation section 8.3 (modified for OSX dylib's) * Patches source to correctly detect CPU Arch for C2Duo and Xeon macs per Atlas errata 3.8.2 Further, the building of dynamic libs results in proper linking against macports atlas/lapack libs rather than system libs when using relative linking, e.g., -L/opt/local/lib -llapack When static libs are used gcc links against the system dynamic libs instead as it "prefers" dynamic over static. This issue was addressed in the comments of ticket #15614. cheers, james -- Ticket URL: <http://trac.macports.org/ticket/18173> MacPorts <http://www.macports.org/> Ports system for Mac OS