freebsd-ports/security/libmcrypt/files/patch-ltmain.sh
Steve Price b1f3b37ba7 Update to version 2.4.18.
PR:		32315
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
2001-12-02 18:38:26 +00:00

37 lines
935 B
Bash

--- ltmain.sh.orig Tue Nov 13 21:50:10 2001
+++ ltmain.sh Sat Nov 24 22:47:52 2001
@@ -953,6 +953,7 @@
;;
-avoid-version)
+ build_old_libs=no
avoid_version=yes
continue
;;
@@ -1040,7 +1041,7 @@
# 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
;;
@@ -1048,7 +1049,7 @@
fi
if test "X$arg" = "X-lc_r"; then
case $host in
- *-*-openbsd*)
+ *-*-openbsd* | *-*-freebsd* )
# Do not include libc_r directly, use -pthread flag.
continue
;;
@@ -2439,7 +2440,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.
;;
*)