sbcl: Set compiler before adding compiler dependency

Closes: https://trac.macports.org/ticket/74202
This commit is contained in:
Ryan Carsten Schmidt
2026-07-10 19:34:19 -05:00
committed by GitHub
parent 1dba4ba436
commit 2142d83a85
+7 -7
View File
@@ -111,6 +111,13 @@ post-patch {
}
}
# <https://trac.macports.org/ticket/72571> notes need for explicit compiler macos-13 (Ventura)
# TODO: get more testing coverage for what exactly works on macos-13
platform darwin 22 {
depends_build-append port:clang-18
configure.compiler macports-clang-18
}
# SBCL records used compiler inside lib/sbcl/sbcl.mk which may lead to not working sb-grovel
if { [string match macports-clang-* ${configure.compiler}] } {
depends_run-append \
@@ -130,13 +137,6 @@ pre-build {
close ${sbclrc}
}
# <https://trac.macports.org/ticket/72571> notes need for explicit compiler macos-13 (Ventura)
# TODO: get more testing coverage for what exactly works on macos-13
if {${os.platform} eq "darwin" && ${macos_version_major} == 13} {
depends_build-append port:clang-18
configure.compiler macports-clang-18
}
build.env-append \
CC=${configure.cc} \
CXX=${configure.cxx} \