[94316] trunk/dports/math/dotwrp/Portfile
takeshi at macports.org
takeshi at macports.org
Thu Jun 14 21:42:04 PDT 2012
Revision: 94316
https://trac.macports.org/changeset/94316
Author: takeshi at macports.org
Date: 2012-06-14 21:42:03 -0700 (Thu, 14 Jun 2012)
Log Message:
-----------
dotwrp: added gcc47 variant, closing #34871
Modified Paths:
--------------
trunk/dports/math/dotwrp/Portfile
Modified: trunk/dports/math/dotwrp/Portfile
===================================================================
--- trunk/dports/math/dotwrp/Portfile 2012-06-15 02:24:31 UTC (rev 94315)
+++ trunk/dports/math/dotwrp/Portfile 2012-06-15 04:42:03 UTC (rev 94316)
@@ -19,12 +19,14 @@
use_configure no
-if { ![variant_isset g95] && ![variant_isset gcc44] && ![variant_isset gcc46]} {
+if { ![variant_isset g95] && ![variant_isset gcc44] && ![variant_isset gcc46] && ![variant_isset gcc47]} {
default_variants +gcc45
}
if {[variant_isset g95]} {
set fc ${prefix}/bin/g95
+} elseif {[variant_isset gcc47]} {
+ set fc ${prefix}/bin/gfortran-mp-4.7
} elseif {[variant_isset gcc46]} {
set fc ${prefix}/bin/gfortran-mp-4.6
} elseif {[variant_isset gcc45]} {
@@ -44,18 +46,22 @@
xinstall -m 644 ${worksrcpath}/lib${name}.a ${destroot}${prefix}/lib
}
-variant g95 conflicts gcc44 gcc45 gcc46 description {compile with g95} {
+variant g95 conflicts gcc44 gcc45 gcc46 gcc47 description {compile with g95} {
depends_build port:g95
}
-variant gcc44 conflicts g95 gcc45 gcc46 description {compile with gfortran-mp-4.4} {
+variant gcc44 conflicts g95 gcc45 gcc46 gcc47 description {compile with gfortran-mp-4.4} {
depends_build port:gcc44
}
-variant gcc45 conflicts g95 gcc44 gcc46 description {compile with gfortran-mp-4.5} {
+variant gcc45 conflicts g95 gcc44 gcc46 gcc47 description {compile with gfortran-mp-4.5} {
depends_build port:gcc45
}
-variant gcc46 conflicts g95 gcc44 gcc45 description {compile with gfortran-mp-4.6} {
+variant gcc46 conflicts g95 gcc44 gcc45 gcc47 description {compile with gfortran-mp-4.6} {
depends_build port:gcc46
}
+
+variant gcc47 conflicts g95 gcc44 gcc45 gcc46 description {compile with gfortran-mp-4.6} {
+ depends_build port:gcc47
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120614/1d0b0a2e/attachment.html>
More information about the macports-changes
mailing list