Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#36853 closed enhancement (fixed)

levmar @2.6 remove dependency on Apple libraries

Reported by: lockhart (Thomas Lockhart) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: haspatch maintainer Cc: pixilla (Bradley Giesbrecht)
Port: levmar

Description

The original Portfile uses the makefile included with levmar which links with liblapack and libblas. These are available from Apple, but has a library name conflict with the MacPorts atlas package. The conflict becomes apparent if atlas is installed before levmar is installed. So here we modify the Portfile and the makefile patches to require and use the atlas lapack and blas functions included in libsatlas.dylib rather than the liblapack.dylib and libblas.dylib libraries from Apple.

Attachments (2)

patch-Makefile.so.diff (2.4 KB) - added by lockhart (Thomas Lockhart) 8 years ago.
Modification to use libsatlas.dylib rather than liblapack.dylib and libblas.dylib. Replaces the current patchfile in the repo. This is not a patch for the patchfile but a complete file.
Portfile.diff (848 bytes) - added by lockhart (Thomas Lockhart) 8 years ago.
Require atlas and increment the revision number. Replaces the original diff which was not in unified format. Sorry Bradley!

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by lockhart (Thomas Lockhart)

Attachment: patch-Makefile.so.diff added

Modification to use libsatlas.dylib rather than liblapack.dylib and libblas.dylib. Replaces the current patchfile in the repo. This is not a patch for the patchfile but a complete file.

Changed 8 years ago by lockhart (Thomas Lockhart)

Attachment: Portfile.diff added

Require atlas and increment the revision number. Replaces the original diff which was not in unified format. Sorry Bradley!

comment:1 Changed 8 years ago by pixilla (Bradley Giesbrecht)

Resolution: fixed
Status: newclosed

See r99337

comment:2 Changed 8 years ago by lockhart (Thomas Lockhart)

Will open a new ticket to allow building with or without atlas and to build on Lion with Xcode 4.2.1.

Note: See TracTickets for help on using tickets.