[106139] trunk/dports/math/atlas/Portfile
vince at macports.org
vince at macports.org
Thu May 16 03:09:37 PDT 2013
Revision: 106139
https://trac.macports.org/changeset/106139
Author: vince at macports.org
Date: 2013-05-16 03:09:37 -0700 (Thu, 16 May 2013)
Log Message:
-----------
Make the waiving of the fortran interface explicit, even when no gfortran compiler is installed.
Modified Paths:
--------------
trunk/dports/math/atlas/Portfile
Modified: trunk/dports/math/atlas/Portfile
===================================================================
--- trunk/dports/math/atlas/Portfile 2013-05-16 04:34:37 UTC (rev 106138)
+++ trunk/dports/math/atlas/Portfile 2013-05-16 10:09:37 UTC (rev 106139)
@@ -153,7 +153,7 @@
if {(${os.major} > 10 && \
(![catch {sysctl hw.optional.avx1_0} result1] && $result1 == 1)) ||
- (![catch {sysctl hw.cpufamily} result2] && $result2 == 1418770316)} {
+ (![catch {sysctl hw.cpufamily} result2] && $result2 == 1418770316)} {
set has_avx "yes"
} else {
@@ -390,10 +390,12 @@
set gflist [glob -noc ${prefix}/bin/gfortran-mp-4.*]
if {[llength ${gflist}] == 0} {
- # No fortran compiler found. Act as if nofortran was set.
- ui_warn "No gfortran-mp-4.* compiler found.\
- Disabling fortran API."
- set fortran 0
+ # No fortran compiler found, bail out
+ return -code error "Atlas could not detect any fortran compiler.\
+ If you really don’t need the fortran interface\
+ to be built, please use the +nofortran option,\
+ else install a fortran compiler (e.g. gcc4X)\
+ before building Atlas."
} else {
# Select most recent gfortran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130516/8fb5f0e9/attachment.html>
More information about the macports-changes
mailing list