ports/net/curl/patches/patch-ltmain_sh

31 lines
1.2 KiB
Text
Raw Normal View History

2023-09-07 02:02:00 +00:00
Index: ltmain.sh
--- ltmain.sh.orig
+++ ltmain.sh
2024-02-12 00:08:55 +00:00
@@ -7275,7 +7275,7 @@ func_mode_link ()
2023-09-07 02:02:00 +00:00
# These systems don't actually have a C library (as such)
test X-lc = "X$arg" && continue
;;
- *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig* | *-*-midnightbsd*)
2024-02-12 00:08:55 +00:00
+ *-*-openbsd* | *-*-secbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig* | *-*-midnightbsd*)
2023-09-07 02:02:00 +00:00
# Do not include libc due to us having libc/libc_r.
test X-lc = "X$arg" && continue
;;
2024-02-12 00:08:55 +00:00
@@ -7295,7 +7295,7 @@ func_mode_link ()
2023-09-07 02:02:00 +00:00
esac
elif test X-lc_r = "X$arg"; then
case $host in
- *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig* | *-*-midnightbsd*)
2024-02-12 00:08:55 +00:00
+ *-*-openbsd* | *-*-secbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig* | *-*-midnightbsd*)
2023-09-07 02:02:00 +00:00
# Do not include libc_r directly, use -pthread flag.
continue
;;
2024-02-12 00:08:55 +00:00
@@ -9408,7 +9408,7 @@ func_mode_link ()
2023-09-07 02:02:00 +00:00
*-*-netbsd*)
# Don't link with libc until the a.out ld.so is fixed.
;;
- *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-midnightbsd*)
2024-02-12 00:08:55 +00:00
+ *-*-openbsd* | *-*-secbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-midnightbsd*)
2023-09-07 02:02:00 +00:00
# Do not include libc due to us having libc/libc_r.
;;
*-*-sco3.2v5* | *-*-sco5v6*)