Ignore:
Timestamp:
May 16, 2013, 10:09:37 AM (7 years ago)
Author:
vince@…
Message:

Make the waiving of the fortran interface explicit, even when no gfortran compiler is installed.

File:
1 edited

Legend:

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

    r106013 r106139  
    154154if {(${os.major} > 10 && \
    155155        (![catch {sysctl hw.optional.avx1_0} result1] && $result1 == 1)) ||
    156                 (![catch {sysctl hw.cpufamily} result2] && $result2 == 1418770316)} {
     156        (![catch {sysctl hw.cpufamily} result2] && $result2 == 1418770316)} {
    157157
    158158    set has_avx "yes"
     
    391391        if {[llength ${gflist}] == 0} {
    392392
    393             # No fortran compiler found. Act as if nofortran was set.
    394             ui_warn "No gfortran-mp-4.* compiler found.\
    395                      Disabling fortran API."
    396             set fortran  0
     393            # No fortran compiler found, bail out
     394            return -code error "Atlas could not detect any fortran compiler.\
     395                                If you really don’t need the fortran interface\
     396                                to be built, please use the +nofortran option,\
     397                                else install a fortran compiler (e.g. gcc4X)\
     398                                before building Atlas."
    397399        } else {
    398400
Note: See TracChangeset for help on using the changeset viewer.