summaryrefslogtreecommitdiff
path: root/x11-toolkits/paragui-devel/files/patch-ltmain.sh
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-03-03 07:24:56 +0000
committerPatrick Li <pat@FreeBSD.org>2002-03-03 07:24:56 +0000
commit7e40c3002b656a9caea733d8d1825979b1a3c932 (patch)
tree58b2ea73580a5f11564c72949df7da6efd906440 /x11-toolkits/paragui-devel/files/patch-ltmain.sh
parentUpdate to 1.3.3 (diff)
Update to 1.0.0
PR: 35501 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=55458
Diffstat (limited to 'x11-toolkits/paragui-devel/files/patch-ltmain.sh')
-rw-r--r--x11-toolkits/paragui-devel/files/patch-ltmain.sh41
1 files changed, 41 insertions, 0 deletions
diff --git a/x11-toolkits/paragui-devel/files/patch-ltmain.sh b/x11-toolkits/paragui-devel/files/patch-ltmain.sh
new file mode 100644
index 000000000000..5204c4e61246
--- /dev/null
+++ b/x11-toolkits/paragui-devel/files/patch-ltmain.sh
@@ -0,0 +1,41 @@
+--- ltmain.sh.orig Mon Feb 11 17:35:31 2002
++++ ltmain.sh Fri Mar 1 06:01:48 2002
+@@ -1056,14 +1056,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
+ ;;
+@@ -2494,7 +2494,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.
+ ;;
+ *)
+@@ -4281,10 +4281,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"