[144140] trunk/dports/math/arpack/Portfile
mcalhoun at macports.org
mcalhoun at macports.org
Sat Jan 2 21:58:01 PST 2016
Revision: 144140
https://trac.macports.org/changeset/144140
Author: mcalhoun at macports.org
Date: 2016-01-02 21:58:00 -0800 (Sat, 02 Jan 2016)
Log Message:
-----------
arpack: ensure at least one BLAS implementation is chosen
Modified Paths:
--------------
trunk/dports/math/arpack/Portfile
Modified: trunk/dports/math/arpack/Portfile
===================================================================
--- trunk/dports/math/arpack/Portfile 2016-01-03 05:56:19 UTC (rev 144139)
+++ trunk/dports/math/arpack/Portfile 2016-01-03 05:58:00 UTC (rev 144140)
@@ -84,6 +84,11 @@
default_variants +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"
+}
+
post-destroot {
reinplace "s|/usr|${prefix}|g" ${destroot}${prefix}/lib/pkgconfig/arpack.pc
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160102/b2a4a790/attachment.html>
More information about the macports-changes
mailing list