mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 10:36:38 -04:00
Security: https://vuxml.freebsd.org/freebsd/c53cd328-8131-4fc2-a083-a9e9d45e3028.html Security: https://vuxml.freebsd.org/freebsd/756839e1-cd78-4082-9f9e-d0da616ca8dd.html
19 lines
603 B
Text
19 lines
603 B
Text
--- build/rust/rust_bindgen.gni.orig 2025-01-15 09:18:26 UTC
|
|
+++ build/rust/rust_bindgen.gni
|
|
@@ -12,14 +12,14 @@ if (is_win) {
|
|
import("//build/toolchain/win/win_toolchain_data.gni")
|
|
}
|
|
|
|
-_bindgen_path = "${rust_bindgen_root}/bin/bindgen"
|
|
+_bindgen_path = "${LOCALBASE}/bin/bindgen"
|
|
if (host_os == "win") {
|
|
_bindgen_path = "${_bindgen_path}.exe"
|
|
}
|
|
|
|
# On Windows, the libclang.dll is beside the bindgen.exe, otherwise it is in
|
|
# ../lib.
|
|
-_libclang_path = rust_bindgen_root
|
|
+_libclang_path = "${LOCALBASE}/llvm${MODCLANG_VERSION}"
|
|
if (host_os == "win") {
|
|
_libclang_path += "/bin"
|
|
} else {
|