devel/rust-bindgen: switch to LLVM_CONFIG from USES=llvm
This commit is contained in:
parent
8d75ee0eee
commit
54cd447747
@ -71,7 +71,7 @@ CARGO_CRATES= aho-corasick-0.7.15 \
|
||||
winapi-x86_64-pc-windows-gnu-0.4.0
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,"llvm-config,&${LLVM_VERSION},' \
|
||||
@${REINPLACE_CMD} -e 's,"llvm-config,"${LLVM_CONFIG},' \
|
||||
${WRKSRC}/cargo-crates/clang-sys-*/build/common.rs \
|
||||
${WRKSRC}/cargo-crates/clang-sys-*/src/support.rs
|
||||
|
||||
|
@ -25,7 +25,7 @@ GH_PROJECT= Av1an
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,"llvm-config,&${LLVM_VERSION},' \
|
||||
@${REINPLACE_CMD} -e 's,"llvm-config,"${LLVM_CONFIG},' \
|
||||
${WRKSRC}/cargo-crates/clang-sys-*/build/common.rs \
|
||||
${WRKSRC}/cargo-crates/clang-sys-*/src/support.rs
|
||||
|
||||
|
@ -23,7 +23,7 @@ MAKE_ENV= ${CARGO_ENV}
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,"llvm-config,&${LLVM_VERSION},' \
|
||||
@${REINPLACE_CMD} -e 's,"llvm-config,"${LLVM_CONFIG},' \
|
||||
${WRKSRC}/cargo-crates/clang-sys-*/build/common.rs \
|
||||
${WRKSRC}/cargo-crates/clang-sys-*/src/support.rs
|
||||
# Make each cargo subcommand very verbose
|
||||
|
@ -31,7 +31,7 @@ CARGO_TEST= no
|
||||
GLIB_SCHEMAS= com.belmoussaoui.Authenticator.gschema.xml
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,"llvm-config,&${LLVM_VERSION},' \
|
||||
@${REINPLACE_CMD} -e 's,"llvm-config,"${LLVM_CONFIG},' \
|
||||
${WRKSRC}/cargo-crates/clang-sys-*/build/common.rs \
|
||||
${WRKSRC}/cargo-crates/clang-sys-*/src/support.rs
|
||||
@${REINPLACE_CMD} -e '/gstreamer.*bad/d' \
|
||||
|
Loading…
Reference in New Issue
Block a user