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

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


Revision: 116377
          https://trac.macports.org/changeset/116377
Author:   sean at macports.org
Date:     2014-01-23 12:14:48 -0800 (Thu, 23 Jan 2014)
Log Message:
-----------
hdf5-18: if fortran-only compilers are selected, then enable fortran bindings

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:43 UTC (rev 116376)
+++ trunk/dports/science/hdf5-18/Portfile	2014-01-23 20:14:48 UTC (rev 116377)
@@ -115,6 +115,10 @@
     return -code error
 }
 
+if {([ variant_isset gfortran ] || [ variant_isset g95 ]) && ![ variant_isset fortran ]} {
+    default_variants +fortran
+}
+
 variant threadsafe description {
     Enable threadsafety.
   +threadsafe is EXPERIMENTAL with +cxx, +fortran, or any mpi variant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140123/b9ee0dfa/attachment-0001.html>


More information about the macports-changes mailing list