<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/b6e7372b81c590aba3f284fec0fbe62d2a1ea052">https://github.com/macports/macports-ports/commit/b6e7372b81c590aba3f284fec0fbe62d2a1ea052</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit b6e7372b81c590aba3f284fec0fbe62d2a1ea052
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Sun Oct 22 23:07:30 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> gmsl: update to 1.1.9
</span>---
devel/gmsl/Portfile | 26 ++++++++++++++++----------
devel/gmsl/files/patch-gmsl-root.diff | 11 +++++++++++
2 files changed, 27 insertions(+), 10 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/gmsl/Portfile b/devel/gmsl/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 23e0b32bafb..1f04b59b240 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/gmsl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/gmsl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,7 +3,7 @@
</span> PortSystem 1.0
name gmsl
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.0.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.1.9
</span> revision 0
categories devel
license GPL-2+
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -17,20 +17,26 @@ homepage https://gmsl.sourceforge.net
</span> master_sites sourceforge
platforms any
supported_archs noarch
<span style='display:block; white-space:pre;background:#ffe0e0;'>-distname ${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 7d764a3842d5af78ce7bd2dd25c6dd7421cbf910 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 807a632fdbc68fe0b6684dbec74fb124cb3cae8502c6d32cf7e6d08259dfb22a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 11996
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|include __${name}|include ${prefix}\/etc\/__${name}|g" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${workpath}/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname ${name}-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 4d28ab0290fa2c535aa5e9d1dfe1861a7a46c46f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 e9829575cddc5502aa95073530f5eb6b6814f676a3c1ba6d46400a4278ab9cd4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 19845
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-gmsl-root.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|@GMSL_ROOT@|${prefix}\/etc\/|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/${name}
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> use_configure no
build {}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -c ${workpath}/${name} ${destroot}${prefix}/etc/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -c ${workpath}/__${name} ${destroot}${prefix}/etc/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 644 -c ${worksrcpath}/${name} ${destroot}${prefix}/etc/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 644 -c ${worksrcpath}/__${name} ${destroot}${prefix}/etc/
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-install {
ui_msg "Add following to your Makefile(s):"
ui_msg ""
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/gmsl/files/patch-gmsl-root.diff b/devel/gmsl/files/patch-gmsl-root.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..713430bdd5d
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/gmsl/files/patch-gmsl-root.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;'>+--- gmsl 2020-04-03 18:08:11.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ gmsl 2023-10-22 23:02:05.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -66,7 +66,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # include /foo/gmsl then extract the /foo/ so that __gmsl gets
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # included transparently
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-__gmsl_root :=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++__gmsl_root := @GMSL_ROOT@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ifneq ($(MAKEFILE_LIST),)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ __gmsl_root := $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))
</span></pre><pre style='margin:0'>
</pre>