[90290] trunk/dports/math/gsl/Portfile

adfernandes at macports.org adfernandes at macports.org
Wed Feb 29 09:18:15 PST 2012


Revision: 90290
          http://trac.macports.org/changeset/90290
Author:   adfernandes at macports.org
Date:     2012-02-29 09:18:15 -0800 (Wed, 29 Feb 2012)
Log Message:
-----------
math/gsl: add support for gcc46

Modified Paths:
--------------
    trunk/dports/math/gsl/Portfile

Modified: trunk/dports/math/gsl/Portfile
===================================================================
--- 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"
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120229/d4520998/attachment.html>


More information about the macports-changes mailing list