[99337] trunk/dports/math/levmar

pixilla at macports.org pixilla at macports.org
Fri Nov 2 07:58:57 PDT 2012


Revision: 99337
          http://trac.macports.org//changeset/99337
Author:   pixilla at macports.org
Date:     2012-11-02 07:58:57 -0700 (Fri, 02 Nov 2012)
Log Message:
-----------
math/levmar:
- Require and use the atlas lapack and blas functions included in libsatlas.dylib
  rather than the liblapack.dylib and libblas.dylib libraries from Apple.
- Maintainer patch closes #36853

Modified Paths:
--------------
    trunk/dports/math/levmar/Portfile
    trunk/dports/math/levmar/files/patch-Makefile.so.diff

Modified: trunk/dports/math/levmar/Portfile
===================================================================
--- trunk/dports/math/levmar/Portfile	2012-11-02 10:23:27 UTC (rev 99336)
+++ trunk/dports/math/levmar/Portfile	2012-11-02 14:58:57 UTC (rev 99337)
@@ -5,7 +5,7 @@
 
 name                levmar
 version             2.6
-revision            1
+revision            2
 categories          math
 platforms           darwin
 license             GPL
@@ -32,12 +32,13 @@
 checksums           rmd160  2b29daea12804050c8d3939b8c142d27d36bffc8 \
                     sha256  3bf4ef1ea4475ded5315e8d8fc992a725f2e7940a74ca3b0f9029d9e6e94bad7
 
+depends_lib-append  port:atlas
+
 # Patch taken from levmar RPM by Eric Smith <eric at brouhaha.com>
 patch.pre_args      -p1
 patchfiles          patch-Makefile.so.diff
 
 use_configure       no
-#configure.args      --with-omniORB-config="${prefix}/etc/omniORB.cfg"
 
 variant universal {}
 

Modified: trunk/dports/math/levmar/files/patch-Makefile.so.diff
===================================================================
--- trunk/dports/math/levmar/files/patch-Makefile.so.diff	2012-11-02 10:23:27 UTC (rev 99336)
+++ trunk/dports/math/levmar/files/patch-Makefile.so.diff	2012-11-02 14:58:57 UTC (rev 99337)
@@ -19,7 +19,7 @@
 +DEMOSRCS=lmdemo.c
 +# -lf2c removed from LAPACKLIBS for Fedora
 +# comment the following line if you are not using LAPACK.
-+LAPACKLIBS=-llapack -lblas
++LAPACKLIBS=-lsatlas
                                   # On systems with a FORTRAN (not f2c'ed) version of LAPACK, -lf2c is
                                   # not necessary; on others, -lf2c is equivalent to -lF77 -lI77
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121102/ea68fb39/attachment.html>


More information about the macports-changes mailing list