[94071] trunk/dports/math/arpack

mmoll at macports.org mmoll at macports.org
Fri Jun 8 09:22:57 PDT 2012


Revision: 94071
          https://trac.macports.org/changeset/94071
Author:   mmoll at macports.org
Date:     2012-06-08 09:22:54 -0700 (Fri, 08 Jun 2012)
Log Message:
-----------
math/arpack: use MacPorts version of ATLAS, not system version. Closes #34695

Modified Paths:
--------------
    trunk/dports/math/arpack/Portfile

Added Paths:
-----------
    trunk/dports/math/arpack/files/patch-configure-atlas.diff

Modified: trunk/dports/math/arpack/Portfile
===================================================================
--- trunk/dports/math/arpack/Portfile	2012-06-08 15:29:07 UTC (rev 94070)
+++ trunk/dports/math/arpack/Portfile	2012-06-08 16:22:54 UTC (rev 94071)
@@ -107,6 +107,7 @@
 
 variant atlas description {build with atlas} {
     depends_lib-append port:atlas
+    patchfiles-append patch-configure-atlas.diff
     configure.args-append --with-lapack=${prefix}/lib/libtatlas.dylib
 }
 

Added: trunk/dports/math/arpack/files/patch-configure-atlas.diff
===================================================================
--- trunk/dports/math/arpack/files/patch-configure-atlas.diff	                        (rev 0)
+++ trunk/dports/math/arpack/files/patch-configure-atlas.diff	2012-06-08 16:22:54 UTC (rev 94071)
@@ -0,0 +1,46 @@
+--- configure.orig	2012-06-08 11:18:01.000000000 -0500
++++ configure	2012-06-08 11:18:32.000000000 -0500
+@@ -14917,13 +14917,13 @@
+ 
+ # BLAS in ATLAS library? (http://math-atlas.sourceforge.net/)
+ if test $ax_blas_ok = no; then
+-	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATL_xerbla in -latlas" >&5
+-$as_echo_n "checking for ATL_xerbla in -latlas... " >&6; }
++	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATL_xerbla in -ltatlas" >&5
++$as_echo_n "checking for ATL_xerbla in -ltatlas... " >&6; }
+ if ${ac_cv_lib_atlas_ATL_xerbla+:} false; then :
+   $as_echo_n "(cached) " >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+-LIBS="-latlas  $LIBS"
++LIBS="-ltatlas  $LIBS"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h.  */
+ 
+@@ -14969,7 +14969,7 @@
+   $as_echo_n "(cached) " >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lf77blas -latlas $LIBS"
++LIBS="-lf77blas -ltatlas $LIBS"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h.  */
+ 
+@@ -15015,7 +15015,7 @@
+   $as_echo_n "(cached) " >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lcblas -lf77blas -latlas $LIBS"
++LIBS="-lcblas -lf77blas -ltatlas $LIBS"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h.  */
+ 
+@@ -15055,7 +15055,7 @@
+ $as_echo "$ac_cv_lib_cblas_cblas_dgemm" >&6; }
+ if test "x$ac_cv_lib_cblas_cblas_dgemm" = xyes; then :
+   ax_blas_ok=yes
+-			 BLAS_LIBS="-lcblas -lf77blas -latlas"
++			 BLAS_LIBS="-lcblas -lf77blas -ltatlas"
+ fi
+ 
+ fi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120608/0f05b027/attachment-0001.html>


More information about the macports-changes mailing list