Ticket #38887: py-cvxopt_Portfile.diff
File py-cvxopt_Portfile.diff, 1.8 KB (added by jjstickel (Jonathan Stickel), 11 years ago) |
---|
-
python/py-cvxopt/Portfile
old new 6 6 7 7 categories-append math 8 8 name py-cvxopt 9 version 1.1.3 10 revision 1 9 version 1.1.5 11 10 distname cvxopt-${version} 12 11 maintainers mnick 13 12 platforms darwin … … 26 25 27 26 master_sites http://abel.ee.ucla.edu/src/ 28 27 29 checksums sha 1 fe048bd21bb33eb99adb2759eda6f06d7520aa31\30 rmd160 cd0fdf51db957b388803b305f43ff323415b225228 checksums sha256 f1c0bd46321db941a46bb3544f4a23c6b15a90cbe5a485d735659abf110993d8 \ 29 rmd160 3d00f8bed86daeeebf243ab39fe12b2c0126e0e5 31 30 32 31 python.versions 25 26 27 33 32 python.default_version 27 … … 57 56 58 57 configure { 59 58 if {[variant_isset atlas]} { 60 reinplace "s| ATLAS_LIB_DIR = .*|ATLAS_LIB_DIR = '${prefix}/lib'|" \59 reinplace "s|BLAS_LIB_DIR = .*|BLAS_LIB_DIR = '${prefix}/lib'|" \ 61 60 ${worksrcpath}/src/setup.py 62 61 63 # default to cblas if ${prefix}/lib/libblas.dylib doesnt exist64 if {![file exists ${prefix}/lib/libblas.dylib]} {65 reinplace "s|libraries = \\(.*\\)'blas'\\(.*\\)|libraries = \\1'cblas'\\2|g" \66 ${worksrcpath}/src/setup.py67 }62 # correct targets for blas and lapack libs (libtatlas.dylib) 63 reinplace "s|BLAS_LIB = \\(.*\\)'blas'\\(.*\\)|BLAS_LIB = \\1'tatlas'\\2|g" \ 64 ${worksrcpath}/src/setup.py 65 reinplace "s|LAPACK_LIB = \\(.*\\)'lapack'\\(.*\\)|LAPACK_LIB = \\1'tatlas'\\2|g" \ 66 ${worksrcpath}/src/setup.py 68 67 } 69 68 70 69 if {[variant_isset gsl]} {