<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/7ae1c80cbe38ce74fd9ed6fa553d34aaddfbe261">https://github.com/macports/macports-ports/commit/7ae1c80cbe38ce74fd9ed6fa553d34aaddfbe261</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 7ae1c80cbe38ce74fd9ed6fa553d34aaddfbe261
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Sun Jun 28 13:39:10 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> Reinstate the code that prevents java from being found
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> We still don't want to find java.
</span>---
devel/gettext/Portfile | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/gettext/Portfile b/devel/gettext/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ea97a7a63e9..682f6050589 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/gettext/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/gettext/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -38,6 +38,24 @@ configure.args-append ac_cv_prog_AWK=/usr/bin/awk \
</span> ac_cv_path_SED=/usr/bin/sed
if {${subport} in "${name} ${name}-runtime"} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set localbindir ${workpath}/bin
</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;'>+ file mkdir ${localbindir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Don't find any Java programs.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach prog {gcj java javac jikes} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set fp [open ${localbindir}/${prog} w]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts ${fp} {#!/bin/sh}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts ${fp} {exit 1}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ close ${fp}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file attributes ${localbindir}/${prog} -permissions a+x
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PATH=${localbindir}:$env(PATH)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args-append \
--disable-csharp \
--disable-java \
</pre><pre style='margin:0'>
</pre>