[118092] trunk/dports/science/silo/Portfile
macsforever2000 at macports.org
macsforever2000 at macports.org
Fri Mar 21 13:03:14 PDT 2014
Revision: 118092
https://trac.macports.org/changeset/118092
Author: macsforever2000 at macports.org
Date: 2014-03-21 13:03:14 -0700 (Fri, 21 Mar 2014)
Log Message:
-----------
silo: Install Fortran bindings with gcc4X variants. (#42967)
Modified Paths:
--------------
trunk/dports/science/silo/Portfile
Modified: trunk/dports/science/silo/Portfile
===================================================================
--- trunk/dports/science/silo/Portfile 2014-03-21 19:53:05 UTC (rev 118091)
+++ trunk/dports/science/silo/Portfile 2014-03-21 20:03:14 UTC (rev 118092)
@@ -5,6 +5,7 @@
name silo
version 4.9.1
+revision 1
categories science
platforms darwin
maintainers nomaintainer
@@ -71,6 +72,14 @@
configure.args-append --with-hdf5=${prefix}
}
+# If using a macports-installed GCC, which includes a compatible fortran
+# compiler, compile fortran bindings
+if {( [ variant_isset gcc44 ] || [ variant_isset gcc45 ]
+ || [ variant_isset gcc46 ] || [ variant_isset gcc47 ]
+ || [ variant_isset gcc48 ] || [ variant_isset gcc49 ] )} {
+ configure.args-replace --disable-fortran --enable-fortran
+}
+
livecheck.type regex
livecheck.url ${homepage}downloads.html
livecheck.regex ${name}-(\[0-9.\]+)-bsd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140321/4d631c7a/attachment.html>
More information about the macports-changes
mailing list