[70385] trunk/dports/math/qrupdate/Portfile

takeshi at macports.org takeshi at macports.org
Sat Aug 7 14:47:53 PDT 2010


Revision: 70385
          http://trac.macports.org/changeset/70385
Author:   takeshi at macports.org
Date:     2010-08-07 14:47:53 -0700 (Sat, 07 Aug 2010)
Log Message:
-----------
qrupdate: added accelerate variant

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

Modified: trunk/dports/math/qrupdate/Portfile
===================================================================
--- trunk/dports/math/qrupdate/Portfile	2010-08-07 21:38:14 UTC (rev 70384)
+++ trunk/dports/math/qrupdate/Portfile	2010-08-07 21:47:53 UTC (rev 70385)
@@ -6,7 +6,7 @@
 
 name                qrupdate
 version             1.1.1
-revision            1
+revision            2
 categories          math
 maintainers         nomaintainer
 description         library for fast updates of QR and Cholesky decompositions
@@ -64,6 +64,13 @@
     }
 }
 
+variant accelerate description {build with Accelerate framework} {
+    depends_lib-delete      port:atlas
+    build.args          PREFIX=${prefix} BLAS="-framework Accelerate" LAPACK="-framework Accelerate"
+    destroot.args       PREFIX=${prefix} BLAS="-framework Accelerate" LAPACK="-framework Accelerate"
+    test.args           PREFIX=${prefix} BLAS="-framework Accelerate" LAPACK="-framework Accelerate"
+}
+
 variant g95 conflicts gcc43 gcc44 universal description {build with g95} {
     depends_build-append    port:g95
     post-patch {
@@ -90,4 +97,8 @@
     default_variants +gcc44
 }
 
+if {[variant_isset g95]} {
+    default_variants +accelerate
+}
+
 test.run yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100807/c88c93fc/attachment.html>


More information about the macports-changes mailing list