mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
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
This commit is contained in:
parent
4fbe6a04e1
commit
9f02596679
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user