[127980] trunk/dports/math/DSDP/Portfile
mf2k at macports.org
mf2k at macports.org
Sun Nov 9 15:36:18 PST 2014
Revision: 127980
https://trac.macports.org/changeset/127980
Author: mf2k at macports.org
Date: 2014-11-09 15:36:18 -0800 (Sun, 09 Nov 2014)
Log Message:
-----------
DSDP: Use modern checksums. Add atlas variant. (#37097)
Modified Paths:
--------------
trunk/dports/math/DSDP/Portfile
Modified: trunk/dports/math/DSDP/Portfile
===================================================================
--- trunk/dports/math/DSDP/Portfile 2014-11-09 23:16:20 UTC (rev 127979)
+++ trunk/dports/math/DSDP/Portfile 2014-11-09 23:36:18 UTC (rev 127980)
@@ -23,12 +23,9 @@
distname ${name}${version}
use_zip yes
-checksums md5 f61d3759cc8c6de688ab5c30877ca83c \
- sha1 8327a6fe2de902d97c3b4cf63668f2731c84b80d \
- rmd160 75cf8629445522a4f9bbfffdcec25e832c8ffc4e
+checksums rmd160 75cf8629445522a4f9bbfffdcec25e832c8ffc4e \
+ sha256 8915e55456f1a7cc5c970ad157d094a5fb399737cf192dfe79b89c2d94d97a8a
-depends_lib port:atlas
-
patchfiles patch-make.include.diff \
patch-src-sys-dsdploginfo.c.diff
@@ -37,6 +34,10 @@
build.target dsdpapi
build.env-append DSDPROOT=${worksrcpath}
+variant atlas description {Use ATLAS as BLAS, LAPACK library} {
+ depends_lib-append port:atlas
+}
+
variant octave description {Build DSDP with octave interface} {
build.target all
depends_lib-append path:bin/octave:octave
@@ -47,6 +48,10 @@
${worksrcpath}/make.include
reinplace "s|@@MP_ARCHFLAGS@@|${configure.cc_archflags}|g" \
${worksrcpath}/make.include
+ if {[variant_isset atlas]} {
+ reinplace "s|-Wl,-framework -Wl,Accelerate -lm|-ltatlas -lm|g" \
+ ${worksrcpath}/make.include
+ }
}
destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141109/98fb4550/attachment.html>
More information about the macports-changes
mailing list