Ticket #37097: dsdp_Portfile.2.diff
File dsdp_Portfile.2.diff, 1.2 KB (added by mbrethen, 10 years ago) |
---|
-
Portfile
old new 23 23 distname ${name}${version} 24 24 use_zip yes 25 25 26 checksums md5 f61d3759cc8c6de688ab5c30877ca83c \ 27 sha1 8327a6fe2de902d97c3b4cf63668f2731c84b80d \ 28 rmd160 75cf8629445522a4f9bbfffdcec25e832c8ffc4e 29 30 depends_lib port:atlas 26 checksums rmd160 75cf8629445522a4f9bbfffdcec25e832c8ffc4e \ 27 sha256 8915e55456f1a7cc5c970ad157d094a5fb399737cf192dfe79b89c2d94d97a8a 31 28 32 29 patchfiles patch-make.include.diff 33 30 … … 36 33 build.target dsdpapi 37 34 build.env-append DSDPROOT=${worksrcpath} 38 35 36 variant atlas description {Use ATLAS as BLAS, LAPACK library} { 37 depends_lib-append port:atlas 38 } 39 39 40 variant octave description {Build DSDP with octave interface} { 40 41 build.target all 41 42 depends_lib-append path:bin/octave:octave … … 46 47 ${worksrcpath}/make.include 47 48 reinplace "s|@@MP_ARCHFLAGS@@|${configure.cc_archflags}|g" \ 48 49 ${worksrcpath}/make.include 50 if {[variant_isset atlas]} { 51 reinplace "s|-Wl,-framework -Wl,Accelerate -lm|-ltatlas -lm|g" \ 52 ${worksrcpath}/make.include 53 } 49 54 } 50 55 51 56 destroot {