summaryrefslogtreecommitdiff
path: root/print/lyx14/files/patch-config::ltmain.sh
diff options
context:
space:
mode:
Diffstat (limited to 'print/lyx14/files/patch-config::ltmain.sh')
-rw-r--r--print/lyx14/files/patch-config::ltmain.sh28
1 files changed, 28 insertions, 0 deletions
diff --git a/print/lyx14/files/patch-config::ltmain.sh b/print/lyx14/files/patch-config::ltmain.sh
new file mode 100644
index 000000000000..29ed1a55df53
--- /dev/null
+++ b/print/lyx14/files/patch-config::ltmain.sh
@@ -0,0 +1,28 @@
+--- config/ltmain.sh Thu Jan 24 06:28:31 2002
++++ config/ltmain.sh Fri Jun 28 20:15:12 2002
+@@ -1043,14 +1043,14 @@
+ # These systems don't actually have a C library (as such)
+ test "X$arg" = "X-lc" && continue
+ ;;
+- *-*-openbsd*)
++ *-*-openbsd* | *-*-freebsd*)
+ # Do not include libc due to us having libc/libc_r.
+ test "X$arg" = "X-lc" && continue
+ ;;
+ esac
+ elif test "X$arg" = "X-lc_r"; then
+ case $host in
+- *-*-openbsd*)
++ *-*-openbsd* | *-*-freebsd*)
+ # Do not include libc_r directly, use -pthread flag.
+ continue
+ ;;
+@@ -2441,7 +2441,7 @@
+ *-*-netbsd*)
+ # Don't link with libc until the a.out ld.so is fixed.
+ ;;
+- *-*-openbsd*)
++ *-*-openbsd* | *-*-freebsd*)
+ # Do not include libc due to us having libc/libc_r.
+ ;;
+ *)