<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/30406e6d0c2b239b76ffac21623ae8edfe129d6a">https://github.com/macports/macports-ports/commit/30406e6d0c2b239b76ffac21623ae8edfe129d6a</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 30406e6d0c2b239b76ffac21623ae8edfe129d6a
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sat Aug 10 14:37:13 2019 -0700
<span style='display:block; white-space:pre;color:#404040;'> symengine: follow upstream build recommendations
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See https://github.com/symengine/symengine/blob/master/README.md#recommended-options-to-build
</span>---
math/symengine/Portfile | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/symengine/Portfile b/math/symengine/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 381e5a7..e0a3cbb 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/symengine/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/symengine/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,7 +6,7 @@ PortGroup cmake 1.1
</span> PortGroup cxx11 1.1
github.setup symengine symengine 0.4.0 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories math science
license MIT
maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,6 +21,8 @@ checksums rmd160 bf63731bec8658580dcd82a9ea57c7aa111b7e6c \
</span> set llvm_version 8.0
depends_lib-append port:gmp \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:mpfr \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:flint \
</span> port:llvm-${llvm_version}
if {[variant_isset debug]} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,8 +35,14 @@ if {[variant_isset debug]} {
</span> configure.optflags
configure.args-append -DBUILD_SHARED_LIBS=ON \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -DBUILD_FOR_DISTRIBUTION=ON \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DWITH_LLVM=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DBUILD_FOR_DISTRIBUTION=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# see https://github.com/symengine/symengine/blob/master/README.md#recommended-options-to-build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append -DWITH_GMP=on \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_MPFR=on \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DINTEGER_CLASS=flint \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_LLVM=on \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_SYMENGINE_THREAD_SAFE=on
</span>
cmake.module_path-append \
${prefix}/libexec/llvm-${llvm_version}/lib/cmake/llvm
</pre><pre style='margin:0'>
</pre>