Revision: 112675 https://trac.macports.org/changeset/112675 Author: stromnov@macports.org Date: 2013-10-29 05:09:26 -0700 (Tue, 29 Oct 2013) Log Message: ----------- py-numpy: convert tabs to spaces Modified Paths: -------------- trunk/dports/python/py-numpy/Portfile Modified: trunk/dports/python/py-numpy/Portfile =================================================================== --- trunk/dports/python/py-numpy/Portfile 2013-10-29 11:54:15 UTC (rev 112674) +++ trunk/dports/python/py-numpy/Portfile 2013-10-29 12:09:26 UTC (rev 112675) @@ -182,20 +182,20 @@ F90="${worksrcpath}/f-wrapper" } - if {[variant_isset atlas]} { - # We must link against libSatlas or libTatlas, not libAtlas - if {[file exists ${prefix}/lib/libtatlas.dylib]} { - reinplace -E \ - "s|_lib_atlas = \\\['atlas'\\\]|_lib_atlas = \\\['tatlas'\\\]|" \ - ${worksrcpath}/numpy/distutils/system_info.py - } elseif {[file exists ${prefix}/lib/libsatlas.dylib]} { - reinplace -E \ - "s|_lib_atlas = \\\['atlas'\\\]|_lib_atlas = \\\['satlas'\\\]|" \ - ${worksrcpath}/numpy/distutils/system_info.py - } else { - return -code error "Unable to find Atlas dylibs. Bailing out." - } - } + if {[variant_isset atlas]} { + # We must link against libSatlas or libTatlas, not libAtlas + if {[file exists ${prefix}/lib/libtatlas.dylib]} { + reinplace -E \ + "s|_lib_atlas = \\\['atlas'\\\]|_lib_atlas = \\\['tatlas'\\\]|" \ + ${worksrcpath}/numpy/distutils/system_info.py + } elseif {[file exists ${prefix}/lib/libsatlas.dylib]} { + reinplace -E \ + "s|_lib_atlas = \\\['atlas'\\\]|_lib_atlas = \\\['satlas'\\\]|" \ + ${worksrcpath}/numpy/distutils/system_info.py + } else { + return -code error "Unable to find Atlas dylibs. Bailing out." + } + } } livecheck.type none