<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6dc12fbba8cf465547af130f2107036e2218df7e">https://github.com/macports/macports-ports/commit/6dc12fbba8cf465547af130f2107036e2218df7e</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 6dc12fbba8cf465547af130f2107036e2218df7e
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Sun Oct 15 22:13:50 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> thrift: do not opportunistically build lisp libs, make it a variant
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See also: https://trac.macports.org/ticket/68477
</span>---
devel/thrift/Portfile | 8 ++++++++
1 file changed, 8 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/thrift/Portfile b/devel/thrift/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 763545294a6..4fa42b8668c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/thrift/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/thrift/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -58,6 +58,7 @@ pre-configure {
</span> conflicts_build ${name}
configure.args --with-c_glib=no \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-cl=no \
</span> --with-csharp=no \
--with-d=no \
--with-erlang=no \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -154,6 +155,13 @@ variant swift description "enable the Swift library" {
</span> use_xcode yes
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Fails on PowerPC at the moment: https://trac.macports.org/ticket/68477
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant lisp description "enable the CL library" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete --with-cl=no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-cl=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:sbcl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> test.run yes
test.target check
</pre><pre style='margin:0'>
</pre>