Revision
100909
Author
macsforever2000@macports.org
Date
2012-12-31 11:17:09 -0800 (Mon, 31 Dec 2012)

Log Message

silo: Add gcc variants to match hdf5-18 port (#37423)

Modified Paths

Diff

Modified: trunk/dports/science/silo/Portfile (100908 => 100909)


--- trunk/dports/science/silo/Portfile	2012-12-31 18:42:42 UTC (rev 100908)
+++ trunk/dports/science/silo/Portfile	2012-12-31 19:17:09 UTC (rev 100909)
@@ -45,6 +45,34 @@
     configure.args-append   --with-hdf5=${prefix}
 }
 
+variant gcc44 description {
+    Build with MacPorts gcc44 compiler.
+} conflicts gcc45 gcc46 gcc47 {
+    depends_lib-append          port:gcc44
+    configure.compiler          macports-gcc-4.4
+}
+
+variant gcc45 description {
+    Build with MacPorts gcc45 compiler.
+} conflicts gcc44 gcc46 gcc47 {
+    depends_lib-append          port:gcc45
+    configure.compiler          macports-gcc-4.5
+}
+
+variant gcc46 description {
+    Build with MacPorts gcc46 compiler.
+} conflicts gcc44 gcc45 gcc47 {
+    depends_lib-append          port:gcc46
+    configure.compiler          macports-gcc-4.6
+}
+
+variant gcc47 description {
+    Build with MacPorts gcc47 compiler.
+} conflicts gcc44 gcc45 gcc46 {
+    depends_lib-append          port:gcc47
+    configure.compiler          macports-gcc-4.7
+}
+
 livecheck.type      regex
 livecheck.url       ${homepage}downloads.html
 livecheck.regex     ${name}-(\[0-9.\]+)-bsd