git: 1a566772a532 - main - devel/rust-bindgen-cli: convert to WRKSRC_crate

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Thu, 06 Apr 2023 00:52:46 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1a566772a53285a695383f4927ccd09235778ecb

commit 1a566772a53285a695383f4927ccd09235778ecb
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-04-06 00:37:37 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-04-06 00:50:11 +0000

    devel/rust-bindgen-cli: convert to WRKSRC_crate
---
 devel/rust-bindgen-cli/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/devel/rust-bindgen-cli/Makefile b/devel/rust-bindgen-cli/Makefile
index 1abe113b2a5e..2e67d5a2d856 100644
--- a/devel/rust-bindgen-cli/Makefile
+++ b/devel/rust-bindgen-cli/Makefile
@@ -19,7 +19,7 @@ PLIST_FILES=	bin/${PORTNAME:S/-cli//}
 
 post-patch:
 	@${REINPLACE_CMD} -e 's,"llvm-config,"${LLVM_CONFIG},' \
-		${WRKSRC}/cargo-crates/clang-sys-*/build/common.rs \
-		${WRKSRC}/cargo-crates/clang-sys-*/src/support.rs
+		${WRKSRC_crate_clang-sys}/build/common.rs \
+		${WRKSRC_crate_clang-sys}/src/support.rs
 
 .include <bsd.port.mk>