[144924] trunk/dports/math/atlas/Portfile

vince at macports.org vince at macports.org
Thu Jan 21 05:29:36 PST 2016


Revision: 144924
          https://trac.macports.org/changeset/144924
Author:   vince at macports.org
Date:     2016-01-21 05:29:36 -0800 (Thu, 21 Jan 2016)
Log Message:
-----------
atlas: Correct $gcc_version when gfortran is chosen automatically (x.y > xy)

Modified Paths:
--------------
    trunk/dports/math/atlas/Portfile

Modified: trunk/dports/math/atlas/Portfile
===================================================================
--- trunk/dports/math/atlas/Portfile	2016-01-21 11:27:51 UTC (rev 144923)
+++ trunk/dports/math/atlas/Portfile	2016-01-21 13:29:36 UTC (rev 144924)
@@ -400,6 +400,7 @@
                 configure.f77   [lindex [lsort -dec ${gflist}] 0]
                 set gcc_version   \
                 [string replace ${configure.f77} 0 [string length ${prefix}]+[string length bin/gfortran-mp-]]
+                set gcc_version [string map {. ""} $gcc_version]
             }
 #        } else {
 #            set libgccpath                  ${prefix}/lib/gcc48
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160121/4912afca/attachment.html>


More information about the macports-changes mailing list