<pre style='margin:0'>
Aaron Madlon-Kay (amake) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/dbb66aa086c44c121cefc5dbdebb50942eb0da1a">https://github.com/macports/macports-ports/commit/dbb66aa086c44c121cefc5dbdebb50942eb0da1a</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 dbb66aa086c launch4j: fix dependency on libgcc
</span>dbb66aa086c is described below

<span style='display:block; white-space:pre;color:#808000;'>commit dbb66aa086c44c121cefc5dbdebb50942eb0da1a
</span>Author: Aaron Madlon-Kay <amake@macports.org>
AuthorDate: Wed Nov 18 16:45:37 2020 +0900

<span style='display:block; white-space:pre;color:#404040;'>    launch4j: fix dependency on libgcc
</span>---
 java/launch4j/Portfile | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/java/launch4j/Portfile b/java/launch4j/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 7c2066a074c..1f5ca70b6f1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/java/launch4j/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/java/launch4j/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,6 +4,7 @@ PortSystem      1.0
</span> 
 name            launch4j
 version         3.12
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision        1
</span> categories      java
 maintainers     {amake @amake} openmaintainer
 license         GPL-2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,6 +31,13 @@ checksums       md5     089cbecf8f6aa022258044f3090b5cdf \
</span>                 sha256  754e557036ff4a469b4a24443c809113f85b9a0689a5ffdcf35a8a6e986c458f \
                 size    7287503
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# A binary copy of windres (from GNU bintools) is included; it links to
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# /opt/local/lib/libgcc/libggc_s.1.dylib for some reason. Upstream only has the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# binary, not source, so we can't rebuild it. Instead we relink to our own
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# library in case the prefix is not the default.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                path:lib/libgcc/libgcc_s.1.dylib:libgcc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> use_configure   no
 build           {}
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -37,6 +45,10 @@ worksrcdir      launch4j
</span> 
 post-extract {
     reinplace "s|^LAUNCH4J=.*|LAUNCH4J=${prefix}/share/launch4j/launch4j.jar|" ${worksrcpath}/launch4j
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    system -W ${worksrcpath} "install_name_tool -change \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+           /opt/local/lib/libgcc/libgcc_s.1.dylib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+           ${prefix}/lib/libgcc/libgcc_s.1.dylib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+           bin/windres"
</span> }
 
 destroot {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -44,7 +56,7 @@ destroot {
</span>     set l4jdir ${sharedir}/launch4j
     set l4jdoc ${sharedir}/doc/launch4j
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    xinstall -d -m 755 ${l4jdoc}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    xinstall -d -m 0755 ${l4jdoc}
</span>     file rename ${worksrcpath}/web ${l4jdoc}
     file rename ${worksrcpath}/demo ${l4jdoc}
     file rename ${worksrcpath}/LICENSE.txt ${l4jdoc}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -68,7 +80,7 @@ destroot {
</span>     file delete ${worksrcpath}/.gitignore
     file delete -force ${worksrcpath}/.settings
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    xinstall -d -m 755 ${sharedir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    xinstall -d -m 0755 ${sharedir}
</span>     file copy ${worksrcpath} ${sharedir}
     ln -s ../share/launch4j/launch4j ${destroot}${prefix}/bin/launch4j
 }
</pre><pre style='margin:0'>

</pre>