Page MenuHomeFreeBSD

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

Authored by rakuco on Jul 15 2023, 9:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 26, 10:06 PM
Unknown Object (File)
Fri, Apr 26, 1:11 AM
Unknown Object (File)
Sat, Apr 20, 10:40 PM
Unknown Object (File)
Jan 26 2024, 6:56 PM
Unknown Object (File)
Jan 13 2024, 7:53 AM
Unknown Object (File)
Dec 30 2023, 5:39 PM
Unknown Object (File)
Dec 30 2023, 5:38 PM
Unknown Object (File)
Dec 23 2023, 12:50 AM
Subscribers
None

Details

Reviewers
None
Group Reviewers
kde
Summary

Bug 272285 only affects LLVM 16, so we can restrict the dependency on devel/llvm15 to CURRENT. Additionally, the build fails on some qcoro issue on 12.4 when LLVM 15 is used with base libc++ (from LLVM 13).

While here, fix the situation with USES=compiler and USES=llvm: commit 420005fac48c3dddc7807674a5276a75d4bead77 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#c7

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 D41045.

Test Plan

Built fine on 12.4-i386, 13.2-amd64 and 14-amd64.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped