[62673] trunk/dports/python/py26-numpy/files/patch-system_info.py.diff

stromnov at macports.org stromnov at macports.org
Wed Jan 13 11:25:24 PST 2010


Revision: 62673
          http://trac.macports.org/changeset/62673
Author:   stromnov at macports.org
Date:     2010-01-13 11:25:22 -0800 (Wed, 13 Jan 2010)
Log Message:
-----------
py26-numpy: improve Intel detection

Modified Paths:
--------------
    trunk/dports/python/py26-numpy/files/patch-system_info.py.diff

Modified: trunk/dports/python/py26-numpy/files/patch-system_info.py.diff
===================================================================
--- trunk/dports/python/py26-numpy/files/patch-system_info.py.diff	2010-01-13 18:54:36 UTC (rev 62672)
+++ trunk/dports/python/py26-numpy/files/patch-system_info.py.diff	2010-01-13 19:25:22 UTC (rev 62673)
@@ -5,7 +5,7 @@
              args = []
              link_args = []
 -            if get_platform()[-4:] == 'i386':
-+            if get_platform().rsplit('-', 1)[1] in ('i386', 'x86_64'):
++            if get_platform().rsplit('-', 1)[1] in ('i386', 'x86_64', 'intel'):
                  intel = 1
              else:
                  intel = 0
@@ -14,7 +14,7 @@
              args = []
              link_args = []
 -            if get_platform()[-4:] == 'i386':
-+            if get_platform().rsplit('-', 1)[1] in ('i386', 'x86_64'):
++            if get_platform().rsplit('-', 1)[1] in ('i386', 'x86_64', 'intel'):
                  intel = 1
              else:
                  intel = 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100113/c0c47dab/attachment.html>


More information about the macports-changes mailing list