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

adfernandes at macports.org adfernandes at macports.org
Sun Jan 2 17:09:39 PST 2011


Revision: 74804
          http://trac.macports.org/changeset/74804
Author:   adfernandes at macports.org
Date:     2011-01-02 17:09:33 -0800 (Sun, 02 Jan 2011)
Log Message:
-----------
math/gsl : add gcc45 variant

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

Modified: trunk/dports/math/gsl/Portfile
===================================================================
--- trunk/dports/math/gsl/Portfile	2011-01-03 00:30:09 UTC (rev 74803)
+++ trunk/dports/math/gsl/Portfile	2011-01-03 01:09:33 UTC (rev 74804)
@@ -54,22 +54,27 @@
     }
 }
 
-variant gcc43 conflicts gcc44 description "Use GCC 4.3 for compilation of GSL" {
+variant gcc43 conflicts gcc44 gcc45 description "Use GCC 4.3 for compilation of GSL" {
     depends_build-append        port:gcc43
     configure.compiler          macports-gcc-4.3
 }
 
-variant gcc44 conflicts gcc43 description "Use GCC 4.4 for compilation of GSL" {
+variant gcc44 conflicts gcc43 gcc45 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" {
+    depends_build-append        port:gcc45
+    configure.compiler          macports-gcc-4.5
+}
+
 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] ) } {
+    if { [variant_isset optimize] && ( [variant_isset gcc43] || [variant_isset gcc44] || [variant_isset gcc45] ) } {
         configure.cflags-append "-march=native"
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110102/4c333015/attachment.html>


More information about the macports-changes mailing list