Ticket #37097: dsdp_Portfile.2.diff

File dsdp_Portfile.2.diff, 1.2 KB (added by mbrethen, 10 years ago)

rev not changed

  • Portfile

    old new  
    2323distname            ${name}${version}
    2424use_zip             yes
    2525
    26 checksums           md5     f61d3759cc8c6de688ab5c30877ca83c \
    27                     sha1    8327a6fe2de902d97c3b4cf63668f2731c84b80d \
    28                     rmd160  75cf8629445522a4f9bbfffdcec25e832c8ffc4e
    29 
    30 depends_lib         port:atlas
     26checksums           rmd160  75cf8629445522a4f9bbfffdcec25e832c8ffc4e \
     27    sha256  8915e55456f1a7cc5c970ad157d094a5fb399737cf192dfe79b89c2d94d97a8a
    3128
    3229patchfiles          patch-make.include.diff
    3330
     
    3633build.target        dsdpapi
    3734build.env-append    DSDPROOT=${worksrcpath}
    3835
     36variant atlas description {Use ATLAS as BLAS, LAPACK library} {
     37    depends_lib-append port:atlas
     38}
     39
    3940variant octave description {Build DSDP with octave interface} {
    4041    build.target            all
    4142    depends_lib-append      path:bin/octave:octave
     
    4647        ${worksrcpath}/make.include
    4748    reinplace "s|@@MP_ARCHFLAGS@@|${configure.cc_archflags}|g" \
    4849        ${worksrcpath}/make.include
     50    if {[variant_isset atlas]} {
     51        reinplace "s|-Wl,-framework -Wl,Accelerate -lm|-ltatlas -lm|g" \
     52            ${worksrcpath}/make.include
     53    }
    4954}
    5055
    5156destroot {