summaryrefslogtreecommitdiff
path: root/devel/glade/files/patch-ltmain.sh
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-01-28 17:10:20 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-01-28 17:10:20 +0000
commitd888a2fd53524232f8a124c3c38d636661bd6a6d (patch)
treec15bfea590cbe7a8323d563d0781e9a2a8bfbb12 /devel/glade/files/patch-ltmain.sh
parentUpdate to 0.2.95. (diff)
Update to 0.6.3.
Diffstat (limited to '')
-rw-r--r--devel/glade/files/patch-ltmain.sh42
1 files changed, 42 insertions, 0 deletions
diff --git a/devel/glade/files/patch-ltmain.sh b/devel/glade/files/patch-ltmain.sh
new file mode 100644
index 000000000000..3284d88e43f0
--- /dev/null
+++ b/devel/glade/files/patch-ltmain.sh
@@ -0,0 +1,42 @@
+
+$FreeBSD$
+
+--- ltmain.sh.orig Sun Jan 20 16:11:07 2002
++++ ltmain.sh Thu Jan 24 17:07:06 2002
+@@ -1058,8 +1058,13 @@
+ continue
+ ;;
+
++ -pthread)
++ compiler_flags="$compiler_flags -pthread"
++ ;;
++
+ -module)
+ module=yes
++ build_old_libs=no
+ continue
+ ;;
+
+@@ -2442,6 +2447,9 @@
+ *-*-openbsd*)
+ # Do not include libc due to us having libc/libc_r.
+ ;;
++ *-*-freebsd*)
++ # FreeBSD doesn't need this...
++ ;;
+ *)
+ # Add libc to deplibs on all other systems if necessary.
+ if test $build_libtool_need_lc = "yes"; then
+@@ -4208,10 +4216,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"