[68541] trunk/dports/math/arpack/Portfile

mmoll at macports.org mmoll at macports.org
Sat Jun 5 13:14:04 PDT 2010


Revision: 68541
          http://trac.macports.org/changeset/68541
Author:   mmoll at macports.org
Date:     2010-06-05 13:13:57 -0700 (Sat, 05 Jun 2010)
Log Message:
-----------
math/arpack: fixed bug in selecting default variant. closes #25138.

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

Modified: trunk/dports/math/arpack/Portfile
===================================================================
--- trunk/dports/math/arpack/Portfile	2010-06-05 19:48:01 UTC (rev 68540)
+++ trunk/dports/math/arpack/Portfile	2010-06-05 20:13:57 UTC (rev 68541)
@@ -152,6 +152,10 @@
 	configure.fc ${prefix}/bin/gfortran-mp-4.5
 }
 
+if { ![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] } {
+	default_variants      +gcc44
+}
+
 if { [variant_isset gcc42] } {
   set gccversion    4.2
 } elseif { [variant_isset gcc43] } {
@@ -178,8 +182,6 @@
 	configure.fc ${prefix}/bin/openmpif77
 }
 
-if { ![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] } {
-	default_variants      +gcc44
-}
 
+
 livecheck.type  none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100605/1f2ceff8/attachment.html>


More information about the macports-changes mailing list