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

ryandesign at macports.org ryandesign at macports.org
Wed Aug 15 15:35:17 PDT 2012


Revision: 96629
          https://trac.macports.org/changeset/96629
Author:   ryandesign at macports.org
Date:     2012-08-15 15:35:14 -0700 (Wed, 15 Aug 2012)
Log Message:
-----------
gsl: add gcc47 variant

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

Modified: trunk/dports/math/gsl/Portfile
===================================================================
--- trunk/dports/math/gsl/Portfile	2012-08-15 21:22:02 UTC (rev 96628)
+++ trunk/dports/math/gsl/Portfile	2012-08-15 22:35:14 UTC (rev 96629)
@@ -57,32 +57,37 @@
     }
 }
 
-variant gcc43 conflicts gcc44 gcc45 gcc46 description "Use GCC 4.3 for compilation of GSL" {
+variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 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 gcc46 description "Use GCC 4.4 for compilation of GSL" {
+variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 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 gcc46 description "Use GCC 4.5 for compilation of GSL" {
+variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 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.6 for compilation of GSL" {
+variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description "Use GCC 4.6 for compilation of GSL" {
     depends_build-append        port:gcc46
     configure.compiler          macports-gcc-4.6
 }
 
+variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description "Use GCC 4.7 for compilation of GSL" {
+    depends_build-append        port:gcc47
+    configure.compiler          macports-gcc-4.7
+}
+
 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] || [variant_isset gcc46] ) } {
+    if { [variant_isset optimize] && ( [variant_isset gcc43] || [variant_isset gcc44] || [variant_isset gcc45] || [variant_isset gcc46] || [variant_isset gcc47] ) } {
         configure.cflags-append "-march=native"
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120815/277d5f11/attachment.html>


More information about the macports-changes mailing list