Modified: trunk/dports/_resources/port1.0/group/linear_algebra-1.0.tcl (148851 => 148852)
--- trunk/dports/_resources/port1.0/group/linear_algebra-1.0.tcl 2016-05-20 01:11:55 UTC (rev 148851)
+++ trunk/dports/_resources/port1.0/group/linear_algebra-1.0.tcl 2016-05-20 01:12:51 UTC (rev 148852)
@@ -47,7 +47,6 @@
# scalapack.
# vecLibFort only needed if calling Accelerate from Fortran.
-# enforcing +lapack for OpenBLAS can be optional.
PortGroup active_variants 1.1
@@ -92,3 +91,8 @@
}
set linalglib -lopenblas
}
+
+if {![variant_isset accelerate] && ![variant_isset openblas] && ![variant_isset atlas] } {
+ ui_error "You must select either the +accelerate, +atlas, or +openblas variant for linear algebra."
+ return -code error "No linear-algebra variant selected."
+}