Modified: trunk/dports/python/py-numpy/Portfile (112674 => 112675)
--- 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