Files
haikuports/dev-util/premake/patches/premake5-5.0.0~beta2.patchset
2024-04-04 23:10:59 -06:00

33 lines
986 B
Plaintext

From 699262deddebf58905a77f9153b3bc9c372ebd3b Mon Sep 17 00:00:00 2001
From: Chris Roberts <cpr420@gmail.com>
Date: Thu, 4 Apr 2024 23:03:31 -0600
Subject: add Haiku CA certificate path
diff --git a/contrib/curl/premake5.lua b/contrib/curl/premake5.lua
index 474f5cf..c06da95 100644
--- a/contrib/curl/premake5.lua
+++ b/contrib/curl/premake5.lua
@@ -27,7 +27,7 @@ project "curl-lib"
filter { "system:not windows", "system:not macosx" }
defines { "USE_MBEDTLS" }
- filter { "system:linux or bsd or solaris" }
+ filter { "system:linux or bsd or solaris or haiku" }
defines { "CURL_HIDDEN_SYMBOLS" }
-- find the location of the ca bundle
@@ -39,7 +39,8 @@ project "curl-lib"
"/usr/local/share/certs/ca-root.crt",
"/usr/local/share/certs/ca-root-nss.crt",
"/etc/certs/ca-certificates.crt",
- "/etc/ssl/cert.pem" } do
+ "/etc/ssl/cert.pem",
+ "/boot/system/data/ssl/CARootCertificates.pem" } do
if os.isfile(f) then
ca = f
break
--
2.43.2