lang/rust: Replace OpenSSL system default truststore with a more generic one

This commit is contained in:
Michael Osipov 2025-11-10 18:06:09 +01:00 committed by Mikael Urankar
commit a01365ba22

View file

@ -1,6 +1,6 @@
PORTNAME= rust
PORTVERSION?= 1.90.0
PORTREVISION?= 1
PORTREVISION?= 2
CATEGORIES= lang
MASTER_SITES= https://static.rust-lang.org/dist/:src \
https://dev-static.rust-lang.org/dist/:src \

View file

@ -1,18 +0,0 @@
--- vendor/git2-0.20.2/src/lib.rs.orig 2025-02-21 20:02:44 UTC
+++ vendor/git2-0.20.2/src/lib.rs
@@ -759,6 +759,7 @@ fn init() {
unix,
not(target_os = "macos"),
not(target_os = "ios"),
+ not(target_os = "freebsd"),
feature = "https"
))]
fn openssl_env_init() {
@@ -880,6 +881,7 @@ fn openssl_env_init() {
windows,
target_os = "macos",
target_os = "ios",
+ target_os = "freebsd",
not(feature = "https")
))]
fn openssl_env_init() {}