<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/d802558b338db972075e911667a4e80c52f995e9">https://github.com/macports/macports-ports/commit/d802558b338db972075e911667a4e80c52f995e9</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit d802558b338db972075e911667a4e80c52f995e9
</span>Author: Kirill A. Korinsky <kirill@korins.ky>
AuthorDate: Thu Jun 1 17:09:51 2023 +0200
<span style='display:block; white-space:pre;color:#404040;'> common_lisp PG: respect SBCL fixes
</span>---
_resources/port1.0/group/common_lisp-1.0.tcl | 46 +++++++++++++++++++++++-----
lisp/cl-bordeaux-threads/Portfile | 2 +-
lisp/cl-cffi/Portfile | 2 +-
lisp/cl-drakma/Portfile | 2 +-
lisp/cl-fad/Portfile | 2 +-
lisp/cl-hunchentoot/Portfile | 2 +-
lisp/cl-usocket/Portfile | 2 +-
7 files changed, 44 insertions(+), 14 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/common_lisp-1.0.tcl b/_resources/port1.0/group/common_lisp-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index b4cef848bac..64a707b0705 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/common_lisp-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/common_lisp-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,9 +19,11 @@ default common_lisp.prefix {${prefix}/share/common-lisp}
</span> options common_lisp.build
default common_lisp.build {${workpath}/build}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+options common_lisp.threads
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+default common_lisp.threads no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> options common_lisp.sbcl
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# See: https://trac.macports.org/ticket/66002
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-default common_lisp.sbcl [expr { ${os.platform} eq "darwin" && ${os.major} >= 18 }]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+default common_lisp.sbcl yes
</span>
options common_lisp.ecl
default common_lisp.ecl yes
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -57,12 +59,6 @@ proc common_lisp::add_dependencies {} {
</span> depends_build-append port:ecl
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${common_lisp.clisp} eq "threads"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[catch {common_lisp.clisp [active_variants clisp threads]}]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- common_lisp.clisp no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> if {[option common_lisp.clisp]} {
depends_build-delete port:clisp
depends_build-append port:clisp
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -71,6 +67,40 @@ proc common_lisp::add_dependencies {} {
</span>
port::register_callback common_lisp::add_dependencies
<span style='display:block; white-space:pre;background:#e0ffe0;'>+proc common_lisp::respect_threads_support {} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ global common_lisp.sbcl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ global common_lisp.ecl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ global common_lisp.clisp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[option common_lisp.threads] && [option common_lisp.sbcl]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ common_lisp.sbcl no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ catch {common_lisp.sbcl [active_variants sbcl threads]}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![option common_lisp.sbcl]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ catch {common_lisp.sbcl [active_variants sbcl fancy]}
</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;'>+ if {![option common_lisp.sbcl]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_debug "Exclude SBCL because it doesn't support threads"
</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;'>+ if {[option common_lisp.threads] && [option common_lisp.clisp]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ common_lisp.clisp no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ catch {common_lisp.clisp [active_variants clisp threads]}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![option common_lisp.clisp]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_debug "Exclude CLISP because it doesn't support threads"
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+pre-build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ common_lisp::respect_threads_support
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> build {
file delete -force ${common_lisp.build}/source
file delete -force ${common_lisp.build}/system
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lisp/cl-bordeaux-threads/Portfile b/lisp/cl-bordeaux-threads/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4f49eb66f9e..9ee5a4134e5 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lisp/cl-bordeaux-threads/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lisp/cl-bordeaux-threads/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,4 +26,4 @@ depends_lib-append port:cl-alexandria \
</span> port:cl-trivial-features \
port:cl-trivial-garbage
<span style='display:block; white-space:pre;background:#ffe0e0;'>-common_lisp.clisp threads
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+common_lisp.threads yes
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lisp/cl-cffi/Portfile b/lisp/cl-cffi/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f5c947ae628..795f287c894 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lisp/cl-cffi/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lisp/cl-cffi/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,7 +33,7 @@ depends_lib-append port:cl-alexandria \
</span> port:cl-trivial-features \
port:libffi
<span style='display:block; white-space:pre;background:#ffe0e0;'>-common_lisp.clisp threads
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+common_lisp.threads yes
</span>
post-patch {
if { ${prefix} ne "/opt/local"} {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lisp/cl-drakma/Portfile b/lisp/cl-drakma/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 81eb9b2b8f8..f011a7edc20 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lisp/cl-drakma/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lisp/cl-drakma/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,4 +28,4 @@ depends_lib-append port:cl-base64 \
</span> port:cl-ppcre \
port:cl-puri
<span style='display:block; white-space:pre;background:#ffe0e0;'>-common_lisp.clisp threads
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+common_lisp.threads yes
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lisp/cl-fad/Portfile b/lisp/cl-fad/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6d0347e3dd9..ce46c4c56e6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lisp/cl-fad/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lisp/cl-fad/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,4 +22,4 @@ long_description {*}${description}
</span> depends_lib-append port:cl-alexandria \
port:cl-bordeaux-threads
<span style='display:block; white-space:pre;background:#ffe0e0;'>-common_lisp.clisp threads
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+common_lisp.threads yes
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lisp/cl-hunchentoot/Portfile b/lisp/cl-hunchentoot/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a29abf5a9a0..f98d410ed6f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lisp/cl-hunchentoot/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lisp/cl-hunchentoot/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -36,4 +36,4 @@ depends_lib-append port:cl-alexandria \
</span> port:cl-usocket \
port:cl-who
<span style='display:block; white-space:pre;background:#ffe0e0;'>-common_lisp.clisp threads
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+common_lisp.threads yes
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lisp/cl-usocket/Portfile b/lisp/cl-usocket/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b712a73a552..3f4b5fd92a8 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lisp/cl-usocket/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lisp/cl-usocket/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,4 +24,4 @@ depends_lib-append port:cl-bordeaux-threads \
</span> port:cl-rt \
port:cl-split-sequence
<span style='display:block; white-space:pre;background:#ffe0e0;'>-common_lisp.clisp threads
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+common_lisp.threads yes
</span></pre><pre style='margin:0'>
</pre>