<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/0af732b43cb96a154a45f391d9d9f93b004bcc2f">https://github.com/macports/macports-ports/commit/0af732b43cb96a154a45f391d9d9f93b004bcc2f</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 0af732b43cb96a154a45f391d9d9f93b004bcc2f
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Wed Feb 22 14:47:55 2023 -0800
<span style='display:block; white-space:pre;color:#404040;'> soprano: disable java backend
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> the JavaVM requirement is a problem, as there is no current universal JavaVM for arm64/x86_64
</span><span style='display:block; white-space:pre;color:#404040;'> and the kde ports can't build as arm64. So they would need an x86_64 JavaVM installed if there
</span><span style='display:block; white-space:pre;color:#404040;'> is one. Any JavaVM the user has installed on an arm Mac is unlikely to be Intel arch.
</span><span style='display:block; white-space:pre;color:#404040;'> just disable the java backend to allow the kde4 ports to build.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> closes: https://trac.macports.org/ticket/66783
</span><span style='display:block; white-space:pre;color:#404040;'> closes: https://trac.macports.org/ticket/45745
</span>---
devel/soprano/Portfile | 25 +++++++++++++++++--------
1 file changed, 17 insertions(+), 8 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/soprano/Portfile b/devel/soprano/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 7262e8a5e92..3593e46168a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/soprano/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/soprano/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,11 +2,10 @@
</span>
PortSystem 1.0
PortGroup kde4 1.1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup java 1.0
</span>
name soprano
version 2.9.4
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 6
</span> categories devel
maintainers nomaintainer
license GPL-2+ LGPL-2+
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,11 +26,6 @@ checksums rmd160 b5e8db32a77ab9fed5dac74783cb137259d91bb2 \
</span> sha256 64066fbd54e71d7ae4c8a4116997448a72808a2813cff3bb5d2c28f0fce9e0e5 \
size 1958856
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Required java version.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-java.version 11+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# LTS JDK port to install if required java not found
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-java.fallback openjdk11
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> depends_lib-append port:strigi \
port:raptor2 \
port:redland \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -48,7 +42,22 @@ patchfiles patch-parsers-raptor-raptorparser.h.diff \
</span> pkgconfig.patch
configure.args-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -DSOPRANO_DISABLE_CLUCENE_INDEX=1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DSOPRANO_DISABLE_CLUCENE_INDEX=1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DSOPRANO_DISABLE_SESAME2_BACKEND=1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# the JavaVM requirement is a problem, as there is no current universal JavaVM for arm64/x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# and the kde ports can't build as arm64. So they would need an x86_64 JavaVM installed if there
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# is one. Any JavaVM the user has installed on an arm Mac is unlikely to be Intel arch.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# just disable the java backend to allow the kde4 ports to build.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# variant sesame2 description "enable sesame2 backend, requires JavaVM" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# PortGroup java 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# java.version 11+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# java.fallback openjdk11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# configure.args-delete -DSOPRANO_DISABLE_SESAME2_BACKEND=1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# }
</span>
livecheck.type sourceforge
livecheck.url http://sourceforge.net/projects/soprano/files/Soprano/
</pre><pre style='margin:0'>
</pre>