<pre style='margin:0'>
Blair Zajac (blair) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/823acad2c9ac201fe55b5d2e6695a6ee26f37a8b">https://github.com/macports/macports-ports/commit/823acad2c9ac201fe55b5d2e6695a6ee26f37a8b</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 823acad2c9ac201fe55b5d2e6695a6ee26f37a8b
</span>Author: Aaron Madlon-Kay <amake@macports.org>
AuthorDate: Mon Jul 1 13:51:44 2019 +0900
<span style='display:block; white-space:pre;color:#404040;'> apache-ant: fix building source variant
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Ant 1.10 requires Java 8, but Java 8 treats Javadoc errors as fatal, and there
</span><span style='display:block; white-space:pre;color:#404040;'> are errors when building without some supposedly-optional libraries.
</span>---
devel/apache-ant/Portfile | 6 ++++++
1 file changed, 6 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/apache-ant/Portfile b/devel/apache-ant/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 753a603..91c2955 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/apache-ant/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/apache-ant/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -42,6 +42,7 @@ build.cmd true
</span> # dependent support isn't available when ant is built, due to circular
# dependencies back to ant.
variant source description "build from source; not recommended" {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ java.version 1.8+
</span> distname ${name}-${version}-src
master_sites.mirror_subdir source
checksums rmd160 3f03bfeed5c95136b2aa5a5df87680c9803fe002 \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -52,6 +53,11 @@ variant source description "build from source; not recommended" {
</span> build.cmd ./build.sh
build.args -Dchmod.fail=false -Ddist.name=${name}
build.target dist
<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;'>+ # Don't fail on Javadoc errors
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|failonerror=\"true\"||g" ${worksrcpath}/build.xml
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
pre-destroot {
</pre><pre style='margin:0'>
</pre>