[116375] trunk/dports/science/hdf5-18/Portfile

sean at macports.org sean at macports.org
Thu Jan 23 12:14:38 PST 2014


Revision: 116375
          https://trac.macports.org/changeset/116375
Author:   sean at macports.org
Date:     2014-01-23 12:14:38 -0800 (Thu, 23 Jan 2014)
Log Message:
-----------
hdf5-18: simplify check for fortran compiler

Modified Paths:
--------------
    trunk/dports/science/hdf5-18/Portfile

Modified: trunk/dports/science/hdf5-18/Portfile
===================================================================
--- trunk/dports/science/hdf5-18/Portfile	2014-01-23 20:14:33 UTC (rev 116374)
+++ trunk/dports/science/hdf5-18/Portfile	2014-01-23 20:14:38 UTC (rev 116375)
@@ -110,15 +110,8 @@
     }
 }
 
-if {[ variant_isset fortran ] &&
-    !([variant_isset mpich ]  ||
-      [variant_isset openmpi ] ||
-      [variant_isset gcc44]    ||
-      [variant_isset gcc45]    ||
-      [variant_isset gcc46]    ||
-      [variant_isset gcc47]    ||
-      [variant_isset gcc48]) } {
-    ui_error "+fortran requires +mpich, +openmpi, or +gccNN"
+if {[ variant_isset fortran ] && ![ fortran_variant_isset ] } {
+    ui_error "+fortran requires a fortran compiler to be selected"
     return -code error
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140123/4321f9f0/attachment.html>


More information about the macports-changes mailing list