aboutsummaryrefslogtreecommitdiff
path: root/net/librsync/files
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-03-03 06:44:05 +0000
committerPatrick Li <pat@FreeBSD.org>2002-03-03 06:44:05 +0000
commit0b9b0e3df4a1e60723c460d7a580e88641b98d71 (patch)
tree93e6862a22f56b91775a0938eac363d2d0376d19 /net/librsync/files
parent5b0cb4432a33fb156c7c84444ace7bc0463c2d23 (diff)
Notes
Diffstat (limited to 'net/librsync/files')
-rw-r--r--net/librsync/files/patch-ltmain.sh42
1 files changed, 42 insertions, 0 deletions
diff --git a/net/librsync/files/patch-ltmain.sh b/net/librsync/files/patch-ltmain.sh
new file mode 100644
index 000000000000..478bd58c315c
--- /dev/null
+++ b/net/librsync/files/patch-ltmain.sh
@@ -0,0 +1,42 @@
+--- ltmain.sh.orig Fri Sep 7 03:45:46 2001
++++ ltmain.sh Sat Mar 2 15:45:11 2002
+@@ -1040,7 +1040,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 +1048,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 +2439,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.
+ ;;
+ *)
+@@ -4208,10 +4208,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if /usr/bin/false; then
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"