Modified: trunk/dports/math/gsl/Portfile (90289 => 90290)
--- trunk/dports/math/gsl/Portfile 2012-02-29 17:14:55 UTC (rev 90289)
+++ trunk/dports/math/gsl/Portfile 2012-02-29 17:18:15 UTC (rev 90290)
@@ -57,27 +57,32 @@
}
}
-variant gcc43 conflicts gcc44 gcc45 description "Use GCC 4.3 for compilation of GSL" {
+variant gcc43 conflicts gcc44 gcc45 gcc46 description "Use GCC 4.3 for compilation of GSL" {
depends_build-append port:gcc43
configure.compiler macports-gcc-4.3
}
-variant gcc44 conflicts gcc43 gcc45 description "Use GCC 4.4 for compilation of GSL" {
+variant gcc44 conflicts gcc43 gcc45 gcc46 description "Use GCC 4.4 for compilation of GSL" {
depends_build-append port:gcc44
configure.compiler macports-gcc-4.4
}
-variant gcc45 conflicts gcc43 gcc44 description "Use GCC 4.5 for compilation of GSL" {
+variant gcc45 conflicts gcc43 gcc44 gcc46 description "Use GCC 4.5 for compilation of GSL" {
depends_build-append port:gcc45
configure.compiler macports-gcc-4.5
}
+variant gcc46 conflicts gcc43 gcc44 gcc45 description "Use GCC 4.5 for compilation of GSL" {
+ depends_build-append port:gcc46
+ configure.compiler macports-gcc-4.6
+}
+
variant optimize description "Provide further optimization options (depending on compiler used)" {
configure.cflags-append "-ftree-vectorize -O3"
}
platform darwin i386 {
- if { [variant_isset optimize] && ( [variant_isset gcc43] || [variant_isset gcc44] || [variant_isset gcc45] ) } {
+ if { [variant_isset optimize] && ( [variant_isset gcc43] || [variant_isset gcc44] || [variant_isset gcc45] || [variant_isset gcc46] ) } {
configure.cflags-append "-march=native"
}
}