<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/5b8b31a2b2468d6c89018d66e70945500123d992">https://github.com/macports/macports-ports/commit/5b8b31a2b2468d6c89018d66e70945500123d992</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 5b8b31a2b24 R-rtmpt: fix path to gsl
</span>5b8b31a2b24 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 5b8b31a2b2468d6c89018d66e70945500123d992
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Sat Jun 1 23:02:45 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> R-rtmpt: fix path to gsl
</span>---
R/R-rtmpt/Portfile | 9 ++++++++-
R/R-rtmpt/files/patch-fix-gsl-path.diff | 11 +++++++++++
2 files changed, 19 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/R/R-rtmpt/Portfile b/R/R-rtmpt/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 58e7966e51d..58ed04ce5de 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/R/R-rtmpt/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/R/R-rtmpt/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem 1.0
</span> PortGroup R 1.0
R.setup cran raphael.hartmann rtmpt 2.0-1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 3
</span> categories-append math
maintainers {@barracuda156 gmail.com:vital.had} openmaintainer
license GPL-2+
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,6 +26,13 @@ depends_lib-append port:gsl \
</span> # error: 'isnan' was not declared in this scope; did you mean 'std::isnan'?
patchfiles patch-fix-math.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Avoid brewisms to ensure correct linking.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-fix-gsl-path.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/src/Makevars
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_test-append port:R-knitr \
port:R-rmarkdown
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/R/R-rtmpt/files/patch-fix-gsl-path.diff b/R/R-rtmpt/files/patch-fix-gsl-path.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..6cd87452b83
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/R/R-rtmpt/files/patch-fix-gsl-path.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/Makevars 2023-12-11 23:53:04.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/Makevars 2024-06-01 22:51:53.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,6 +1,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # copied from sources of R package gsl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-GSL_CFLAGS = -I/usr/local/include
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-GSL_LIBS = -L/usr/local/lib -lgsl -lgslcblas
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++GSL_CFLAGS = -I@PREFIX@/include
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++GSL_LIBS = -L@PREFIX@/lib -lgsl -lgslcblas
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # combine to standard arguments for R
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PKG_CFLAGS = $(GSL_CFLAGS)
</span></pre><pre style='margin:0'>
</pre>