summaryrefslogtreecommitdiff
path: root/devel/ixlib/files/patch-ltmain.sh
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-08 20:46:20 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-08 20:46:20 +0000
commitec946f9a8be75247f3a598f8d97c83404b3c7571 (patch)
tree1183c7a9de72b70fb131c5b73d948d16873b57e7 /devel/ixlib/files/patch-ltmain.sh
parentupdate master site & WWW (diff)
fix pkg-comment & pkg-plist
PR: 32611 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=51248
Diffstat (limited to 'devel/ixlib/files/patch-ltmain.sh')
-rw-r--r--devel/ixlib/files/patch-ltmain.sh41
1 files changed, 41 insertions, 0 deletions
diff --git a/devel/ixlib/files/patch-ltmain.sh b/devel/ixlib/files/patch-ltmain.sh
new file mode 100644
index 000000000000..78fde5161990
--- /dev/null
+++ b/devel/ixlib/files/patch-ltmain.sh
@@ -0,0 +1,41 @@
+--- ltmain.sh.orig Sun Sep 23 09:10:52 2001
++++ ltmain.sh Sat Dec 8 17:01:25 2001
+@@ -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.
+ ;;
+ *)
+@@ -4210,10 +4210,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"