Changeset 144140 for trunk/dports/math


Ignore:
Timestamp:
Jan 3, 2016, 5:58:00 AM (4 years ago)
Author:
mcalhoun@…
Message:

arpack: ensure at least one BLAS implementation is chosen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/arpack/Portfile

    r144139 r144140  
    8585}
    8686
     87if {![variant_isset accelerate] && ![variant_isset openblas] && ![variant_isset atlas] } {
     88    ui_error "\n\nYou must select either the +accelerate, +atlas, or +openblas variant.\n"
     89    return -code error "Invalid variant selection"
     90}
     91
    8792post-destroot {
    8893    reinplace "s|/usr|${prefix}|g" ${destroot}${prefix}/lib/pkgconfig/arpack.pc
Note: See TracChangeset for help on using the changeset viewer.