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

mcalhoun at macports.org mcalhoun at macports.org
Sat Jan 2 22:51:46 PST 2016


Revision: 144146
          https://trac.macports.org/changeset/144146
Author:   mcalhoun at macports.org
Date:     2016-01-02 22:51:46 -0800 (Sat, 02 Jan 2016)
Log Message:
-----------
qrupdate: ensure at least one BLAS implementation is chosen

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

Modified: trunk/dports/math/qrupdate/Portfile
===================================================================
--- trunk/dports/math/qrupdate/Portfile	2016-01-03 06:51:03 UTC (rev 144145)
+++ trunk/dports/math/qrupdate/Portfile	2016-01-03 06:51:46 UTC (rev 144146)
@@ -97,6 +97,11 @@
     default_variants-append +accelerate
 }
 
+if {![variant_isset accelerate] && ![variant_isset openblas] && ![variant_isset atlas] } {
+    ui_error "\n\nYou must select either the +accelerate, +atlas, or +openblas variant.\n"
+    return -code error "Invalid variant selection"
+}
+
 if {[variant_isset g95]} {
     post-patch {
         reinplace "s|Makeconf|Makeconf.g95|" ${worksrcpath}/Makefile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160102/92762f23/attachment.html>


More information about the macports-changes mailing list