git: 9f02596679c9 - main - multimedia/helvum: respect LLVM_DEFAULT
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 11 Feb 2022 14:03:59 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=9f02596679c921cee05de43ceb858e08837b41f9 commit 9f02596679c921cee05de43ceb858e08837b41f9 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2022-02-11 13:50:51 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2022-02-11 14:03:07 +0000 multimedia/helvum: respect LLVM_DEFAULT Running `/usr/ports/multimedia/helvum/work/target/release/build/libspa-sys-c217eca9770760b4/build-script-build` [...] [libspa-sys 0.4.1] thread 'main' panicked at 'Unable to find libclang: "couldn't find any valid shared libraries matching: ['libclang.so', 'libclang.so.*'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])"', /usr/ports/multimedia/helvum/work/helvum-094681637ec8f9f2acdb993230e10da88aa3fedb/cargo-crates/bindgen-0.59.2/src/lib.rs:2144:31 Reported by: DPorts --- multimedia/helvum/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/multimedia/helvum/Makefile b/multimedia/helvum/Makefile index 649a13c3f03e..bc02e4248749 100644 --- a/multimedia/helvum/Makefile +++ b/multimedia/helvum/Makefile @@ -149,6 +149,9 @@ CARGO_CRATES= aho-corasick-0.7.15 \ wyz-0.2.0 post-patch: + @${REINPLACE_CMD} -e 's,"llvm-config,&${LLVM_DEFAULT},' \ + ${WRKSRC}/cargo-crates/clang-sys-*/build/common.rs \ + ${WRKSRC}/cargo-crates/clang-sys-*/src/support.rs # Make each cargo subcommand very verbose @${REINPLACE_CMD} -e "/cargo_options =/s/ '--/&verbose', &verbose', &/" \ ${WRKSRC}/src/meson.build