Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148635063
D21764.id62454.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
947 B
Referenced Files
None
Subscribers
None
D21764.id62454.diff
View Options
Index: Mk/Uses/cargo.mk
===================================================================
--- Mk/Uses/cargo.mk
+++ Mk/Uses/cargo.mk
@@ -154,6 +154,7 @@
.if ${CARGO_CRATES:Mlibgit2-sys-[0-9]*}
# Use the system's libgit2 instead of building the bundled version
CARGO_ENV+= LIBGIT2_SYS_USE_PKG_CONFIG=1
+LIB_DEPENDS+= libgit2.so:devel/libgit2
.endif
.if ${CARGO_CRATES:Mlibssh2-sys-[0-9]*}
@@ -168,6 +169,14 @@
# RUSTONIG_SYSTEM_LIBONIG is not necessary, but will force onig_sys to
# always use the system's libonig as returned by `pkg-config oniguruma`.
CARGO_ENV+= RUSTONIG_SYSTEM_LIBONIG=1
+LIB_DEPENDS+= libonig.so:devel/oniguruma
+.endif
+
+.if ${CARGO_CRATES:Mbindgen-[0-9]*}
+# bindgen leverages libclang to preprocess, parse, and type check C and
+# C++ header files. libclang is not available in base, however is
+# provided with the llvm port
+BUILD_DEPENDS+= llvm>0:devel/llvm
.endif
.if ${CARGO_CRATES:Mopenssl-0.[0-9].*}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 20, 6:54 AM (15 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30005369
Default Alt Text
D21764.id62454.diff (947 B)
Attached To
Mode
D21764: Adding dependencies when crates are detected
Attached
Detach File
Event Timeline
Log In to Comment