Opened 13 years ago
Closed 13 years ago
#33430 closed submission (fixed)
levmar @2.6 new port
Reported by: | lockhart (Thomas Lockhart) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.4 |
Keywords: | Cc: | pixilla (Bradley Giesbrecht) | |
Port: | levmar |
Description
Here is a port for the levmar C and C++ non-linear least squares fitting library. The port is based on code and patches in the levmar RPM by Eric Smith <eric@…>.
Attachments (6)
Change History (12)
Changed 13 years ago by lockhart (Thomas Lockhart)
Attachment: | levmar-shared.patch added |
---|
comment:1 Changed 13 years ago by lockhart (Thomas Lockhart)
Replying to lockhart@…:
Here is a port for the levmar C and C++ non-linear least squares fitting library. The port is based on code and patches in the levmar RPM by Eric Smith <eric@…>.
I have placed this in devel/levmar/ in my local repository.
comment:3 follow-up: 4 Changed 13 years ago by pixilla (Bradley Giesbrecht)
Builds fine on Snow Leopard with Xcode 3.2.6. Not sure how to test functionality.
Changed 13 years ago by lockhart (Thomas Lockhart)
Attachment: | patch-Makefile.so.2.diff added |
---|
Complete patch file with addition of "@rpath" to the install_name of the library. This library now links successfully with a test application.
Changed 13 years ago by lockhart (Thomas Lockhart)
Attachment: | patch-Makefile.so.3.diff added |
---|
Patches ready for production including using .dylib rather than .so for shared library extension.
comment:4 Changed 13 years ago by lockhart (Thomas Lockhart)
Replying to pixilla@…:
Builds fine on Snow Leopard with Xcode 3.2.6. Not sure how to test functionality.
OK, I've just reposted Portfile and patches to use .dylib rather than .so for the library extension. This port seems ready for production use; my applications compile and link successfully against an installation. A previous comment mentioned testing; this package does have the "lmdemo" program and I could add this to the installation if desired. I suppose we could also implement the test feature of the port. Let me know what else you might need. Thanks!
comment:5 Changed 13 years ago by pixilla (Bradley Giesbrecht)
Nice work Tom. In post-destroot use the ln macro in place of "system ln".
Example:
$ port cat bzip2
Changed 13 years ago by lockhart (Thomas Lockhart)
Complete Portfile now including a test section. Also installs lmdemo which is the test program.
Changed 13 years ago by pixilla (Bradley Giesbrecht)
Attachment: | Portfile-pixilla added |
---|
Use ln macro in place of "system ln". Place version string between name and .dylib suffix.
Changed 13 years ago by pixilla (Bradley Giesbrecht)
Attachment: | patch-Makefile.so.diff added |
---|
Place version string between name and .dylib suffix.
comment:6 Changed 13 years ago by pixilla (Bradley Giesbrecht)
Resolution: | → fixed |
---|---|
Status: | new → closed |
See r90400
Patch for the goofy levmar Makefile.so to compile on Mac OS X. Works on Lion but does not seem to be version-specific.