Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libtapi: avoid dependency cycle on old macOS #21464

Merged
merged 1 commit into from
Nov 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions devel/libtapi/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ if {(${os.platform} eq "darwin" && ${os.major} < 11) || [string match macports-g
build.env DYLD_LIBRARY_PATH=${prefix}/libexec/llvm-$clangversion/lib/
}

# on macOS before 10.13 use clang-11-bootstrap
if {${os.platform} eq "darwin" && ${os.major} < 17 && ${configure.build_arch} ni [list ppc ppc64]} {

# libtapi might be used as part of bootstrap process for clang, avoid dependency cycle
# when MacPorts decided to use MacPorts clang by replacing compiler to clang-11-bootstrap.
if {[string match macports-clang-* ${configure.compiler}]} {
configure.compiler.add_deps no

depends_build-append port:clang-11-bootstrap
Expand Down