1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/print/lyx14/files/patch-config::ltmain.sh
Mikhail Teterin 301e338c66 Upgrade to 1.2.0. Use the new, opensourced xforms. The possibility of
building with GTk and Qt frontends needs to be investigated.

The layers upon layers of automake/autoconf/configure.in/configure are
disgusting and call for a nice and clean replacements of Makefiles.

PR:		ports/40080 (and a few earlier ones without patches)
Submitted by:	KATO Tsuguru
2002-08-01 14:24:58 +00:00

29 lines
820 B
Bash

--- 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.
;;
*)