summaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer/files/patch-ltmain.sh
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-02-22 04:26:23 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-02-22 04:26:23 +0800
commit453afcbf514498bb058afdccbf373a68288c672b (patch)
treeaef3e9b079063da8dfb1724e8cbfd59e46af20ce /multimedia/gstreamer/files/patch-ltmain.sh
parent553f213a336a9749e40d2a0a697895bd5e164327 (diff)
downloadmarcuscom-ports-453afcbf514498bb058afdccbf373a68288c672b.tar
marcuscom-ports-453afcbf514498bb058afdccbf373a68288c672b.tar.gz
marcuscom-ports-453afcbf514498bb058afdccbf373a68288c672b.tar.bz2
marcuscom-ports-453afcbf514498bb058afdccbf373a68288c672b.tar.lz
marcuscom-ports-453afcbf514498bb058afdccbf373a68288c672b.tar.xz
marcuscom-ports-453afcbf514498bb058afdccbf373a68288c672b.tar.zst
marcuscom-ports-453afcbf514498bb058afdccbf373a68288c672b.zip
Make sure to link against libc_r when asked on 5.X to avoid the DTP.
Reported by: Koop Mast <kwm@rainbow-runner.nl> git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1866 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia/gstreamer/files/patch-ltmain.sh')
-rw-r--r--multimedia/gstreamer/files/patch-ltmain.sh27
1 files changed, 18 insertions, 9 deletions
diff --git a/multimedia/gstreamer/files/patch-ltmain.sh b/multimedia/gstreamer/files/patch-ltmain.sh
index 1c2fba5d5..9b5b1ec3b 100644
--- a/multimedia/gstreamer/files/patch-ltmain.sh
+++ b/multimedia/gstreamer/files/patch-ltmain.sh
@@ -1,6 +1,15 @@
---- ltmain.sh.orig Fri Sep 13 15:38:11 2002
-+++ ltmain.sh Fri Oct 11 01:44:24 2002
-@@ -1073,8 +1073,16 @@
+--- ltmain.sh.orig Tue Oct 28 09:26:50 2003
++++ ltmain.sh Sat Feb 21 15:30:25 2004
+@@ -1280,7 +1280,7 @@
+ esac
+ elif test "X$arg" = "X-lc_r"; then
+ case $host in
+- *-*-openbsd* | *-*-freebsd*)
++ *-*-openbsd* | *-*-freebsd4*)
+ # Do not include libc_r directly, use -pthread flag.
+ continue
+ ;;
+@@ -1290,8 +1290,16 @@
continue
;;
@@ -17,17 +26,17 @@
continue
;;
-@@ -2502,6 +2510,9 @@
- *-*-openbsd*)
- # Do not include libc due to us having libc/libc_r.
+@@ -3000,6 +3008,9 @@
+ # problems, so we reset it completely
+ verstring=
;;
+ *-*-freebsd*)
+ # FreeBSD doesn't need this...
+ ;;
*)
- # Add libc to deplibs on all other systems if necessary.
- if test $build_libtool_need_lc = "yes"; then
-@@ -4286,10 +4297,12 @@
+ verstring="0.0"
+ ;;
+@@ -5428,10 +5439,12 @@
fi
# Install the pseudo-library for information purposes.