<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/90f0e1b29b0b03c74253ecf708aeedc8ab5818bd">https://github.com/macports/macports-ports/commit/90f0e1b29b0b03c74253ecf708aeedc8ab5818bd</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 90f0e1b29b0b03c74253ecf708aeedc8ab5818bd
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Tue Dec 12 01:02:01 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> R-symengine: update to 0.2.4
</span>---
R/R-symengine/Portfile | 8 ++++----
R/R-symengine/files/patch-configure.diff | 24 ++++++++++++++++--------
2 files changed, 20 insertions(+), 12 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/R/R-symengine/Portfile b/R/R-symengine/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ef0c3065b26..457615c9a83 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/R/R-symengine/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/R/R-symengine/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem 1.0
</span> PortGroup R 1.0
# GitHub version lags behind.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-R.setup cran symengine symengine 0.2.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+R.setup cran symengine symengine 0.2.4
</span> revision 0
categories-append math
maintainers {@barracuda156 gmail.com:vital.had} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -12,9 +12,9 @@ license GPL-2+
</span> description Interface to the SymEngine library
long_description {*}${description}
homepage https://github.com/symengine/symengine.R
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 449b6e906a16d163ac5e31580960c814b1af41c5 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 bac26eb70349d0c2c8bdb97351875c6aef79c7bca0d51541e46a11d782fef672 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 810002
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 65d54706b18f7e7b8f8abf6beea5a1409b943e2e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 10373e0ad703d6d26de9f6e9c96bc4df2eb4e16a33f58f208dca1e8160ef48d7 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 810737
</span>
depends_lib-append path:bin/cmake:cmake \
port:gmp \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/R/R-symengine/files/patch-configure.diff b/R/R-symengine/files/patch-configure.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index a0b8245070b..a1da33afe10 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/R/R-symengine/files/patch-configure.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/R/R-symengine/files/patch-configure.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,8 +1,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- configure.orig 2022-10-25 08:21:59.000000000 +0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ configure 2023-04-05 09:11:47.000000000 +0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -70,77 +70,12 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CMAKE_INCLUDE_PATH=`"${R_HOME}/bin/Rscript" ./tools/translate_to_cmake_flags.R CMAKE_INCLUDE_PATH "$R_CPPFLAGS"` ; echo setting CMAKE_INCLUDE_PATH="$CMAKE_INCLUDE_PATH" ; export CMAKE_INCLUDE_PATH="$CMAKE_INCLUDE_PATH"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CMAKE_LIBRARY_PATH=`"${R_HOME}/bin/Rscript" ./tools/translate_to_cmake_flags.R CMAKE_LIBRARY_PATH "$R_LDFLAGS"` ; echo setting CMAKE_LIBRARY_PATH="$CMAKE_LIBRARY_PATH" ; export CMAKE_LIBRARY_PATH="$CMAKE_LIBRARY_PATH"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure 2023-12-10 06:20:56.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2023-12-12 00:57:44.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -74,85 +74,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CMAKE_LIBRARY_PATH=`"${R_HOME}/bin/Rscript" ./tools/translate_to_cmake_flags.R CMAKE_LIBRARY_PATH "$R_LDFLAGS"` ; echo setting CMAKE_LIBRARY_PATH="$CMAKE_LIBRARY_PATH"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>
-## Use ./tools/SYMENGINE_BUNDLED file as indicator so that
-## this won't run on CRAN machine.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -35,11 +35,18 @@
</span> -
- PKG_DIR=`pwd`
- cd src/upstream
<span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- set -x
</span> -
- $CMAKE_BIN \
- -DCMAKE_AR=$AR \
- -DCMAKE_RANLIB=$RANLIB \
- \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+- -DCMAKE_C_FLAGS="$CMAKE_C_FLAGS" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- -DCMAKE_CXX_FLAGS="$CMAKE_CXX_FLAGS" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- -DCMAKE_INCLUDE_PATH="$CMAKE_INCLUDE_PATH" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- -DCMAKE_LIBRARY_PATH="$CMAKE_LIBRARY_PATH" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- \
</span> - -DCMAKE_BUILD_TYPE=Release \
- -DWITH_BFD=no \
- -DWITH_SYMENGINE_ASSERT=no \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -63,6 +70,8 @@
</span> - if [ $? -ne 0 ]; then
- exit 1
- fi
<span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- set +x
</span> -
- cd $PKG_DIR
-
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -74,11 +83,10 @@
</span> - # if SymEngine_DIR exists
- DO_UPSTREAM=
-fi
<span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> echo == config PKG_LIBS and PKG_CPPFLAGS for Makevars
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ## Running cmake --find-package under src/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -156,13 +91,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -169,13 +96,13 @@
</span>
if [ "$status_PKG_LIBS" -ne 0 ]; then
echo >&2 "generating PKG_LIBS failed with 'cmake --find-package', new reset using fallback value"
</pre><pre style='margin:0'>
</pre>