[104383] trunk/dports/python/py-numpy/Portfile

stromnov at macports.org stromnov at macports.org
Sun Mar 24 04:29:12 PDT 2013


Revision: 104383
          https://trac.macports.org/changeset/104383
Author:   stromnov at macports.org
Date:     2013-03-24 04:29:11 -0700 (Sun, 24 Mar 2013)
Log Message:
-----------
py-numpy: set default gcc47 variant, add gcc48 variant

Modified Paths:
--------------
    trunk/dports/python/py-numpy/Portfile

Modified: trunk/dports/python/py-numpy/Portfile
===================================================================
--- trunk/dports/python/py-numpy/Portfile	2013-03-24 11:27:23 UTC (rev 104382)
+++ trunk/dports/python/py-numpy/Portfile	2013-03-24 11:29:11 UTC (rev 104383)
@@ -7,7 +7,7 @@
 
 github.setup            numpy numpy 1.6.2 v
 name                    py-numpy
-revision                1
+revision                2
 dist_subdir             ${name}/${version}_1
 
 categories-append       math
@@ -70,37 +70,42 @@
 
         # see if the user has set -gcc4X to disable using MacPorts'
         # compiler; if not, either use what the user set (as +gcc4X) or
-        # default to gcc45.
+        # default to gcc47.
 
-        variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 \
+        variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 gcc48 \
         description {Use the gcc43 compiler (enables fortran linking)} {
             configure.compiler      macports-gcc-4.3
         }
 
-        variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 \
+        variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 gcc48 \
         description {Use the gcc44 compiler (enables fortran linking)} {
             configure.compiler      macports-gcc-4.4
         }
 
-        variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 \
+        variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 gcc48 \
         description {Use the gcc45 compiler (enables fortran linking)} {
             configure.compiler      macports-gcc-4.5
         }
 
-        variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 \
+        variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 gcc48 \
         description {Use the gcc46 compiler (enables fortran linking)} {
             configure.compiler      macports-gcc-4.6
         }
 
-        variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 \
+        variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 gcc48 \
         description {Use the gcc47 compiler (enables fortran linking)} {
             configure.compiler      macports-gcc-4.7
         }
 
-        if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc46] && ![variant_isset gcc47]} {
-            default_variants        +gcc45
+        variant gcc48 conflicts gcc43 gcc44 gcc45 gcc46 gcc47 \
+        description {Use the gcc48 compiler (enables fortran linking)} {
+            configure.compiler      macports-gcc-4.8
         }
 
+        if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc48]} {
+            default_variants        +gcc47
+        }
+
         if {[variant_isset gcc43]} {
             set gcc_version "4.3"
         } elseif {[variant_isset gcc44]} {
@@ -111,6 +116,8 @@
             set gcc_version "4.6"
         } elseif {[variant_isset gcc47]} {
             set gcc_version "4.7"
+        } elseif {[variant_isset gcc48]} {
+            set gcc_version "4.8"
         }
 
         # when using non-Apple GCC for universal install, it can
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130324/fe03fc57/attachment-0001.html>


More information about the macports-changes mailing list