Page MenuHomeFreeBSD

net-im/libquotient: Restrict dependency on ports LLVM to 14-CURRENT
AbandonedPublic

Authored by rakuco on Jul 15 2023, 8:54 PM.
Tags
None
Referenced Files
F102012971: D41045.id124719.diff
Wed, Nov 6, 1:21 PM
Unknown Object (File)
Tue, Oct 29, 12:48 PM
Unknown Object (File)
Tue, Oct 29, 12:48 PM
Unknown Object (File)
Tue, Oct 22, 10:57 PM
Unknown Object (File)
Tue, Oct 22, 10:40 PM
Unknown Object (File)
Oct 4 2024, 7:34 PM
Unknown Object (File)
Oct 2 2024, 12:16 AM
Unknown Object (File)
Oct 1 2024, 11:17 PM
Subscribers
None

Details

Reviewers
adridg
Group Reviewers
kde
Summary

Bug 272285 only affects LLVM 16, so we can restrict the dependency on devel/llvm15 to CURRENT.

While here, fix the situation with USES=compiler and USES=llvm: commit 8687670ef234f40edfa6fe8709bbd8c133dbc866 added USES=llvm which caused issues with the existing USES=compiler:c++17-lang as reported in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272285#c6

The trick is to not use ${LLVM_PREFIX} when setting ${CC} and friends -- it does not seem to be set at the time Mk/Uses/compiler.mk -- we can just use relative paths.

Additionally, switch to USES=compiler:c++20-lang, as this is what the port requires in its build system.

Depends on D41044.

Test Plan

Port built fine on 12.4-i386, 13.2-amd64 and 14-amd64.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped