$NetBSD$
--- vendor/openssl-sys/build/find_normal.rs.orig 2023-05-31 21:44:49.000000000 +0000
+++ vendor/openssl-sys/build/
find_normal.rs
@@ -72,23 +72,6 @@ fn resolve_with_wellknown_location(dir:
fn find_openssl_dir(target: &str) -> OsString {
let host = env::var("HOST").unwrap();
- if host == target && target.ends_with("-apple-darwin") {
- let homebrew_dir = match target {
- "aarch64-apple-darwin" => "/opt/homebrew",
- _ => "/usr/local",
- };
-
- if let Some(dir) = resolve_with_wellknown_homebrew_location(homebrew_dir) {
- return dir.into();
- } else if let Some(dir) = resolve_with_wellknown_location("/opt/pkg") {
- // pkgsrc
- return dir.into();
- } else if let Some(dir) = resolve_with_wellknown_location("/opt/local") {
- // MacPorts
- return dir.into();
- }
- }
-
try_pkg_config();
try_vcpkg();