devel/rust-bindgen: switch to LLVM_CONFIG from USES=llvm

This commit is contained in:
Jan Beich 2022-12-24 16:48:16 +00:00
parent 8d75ee0eee
commit 54cd447747
4 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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' \