diff options
Diffstat (limited to 'x11-toolkits/pango/files/patch-ltmain.sh')
-rw-r--r-- | x11-toolkits/pango/files/patch-ltmain.sh | 47 |
1 files changed, 10 insertions, 37 deletions
diff --git a/x11-toolkits/pango/files/patch-ltmain.sh b/x11-toolkits/pango/files/patch-ltmain.sh index ec2f7e4ad..e9e312dfe 100644 --- a/x11-toolkits/pango/files/patch-ltmain.sh +++ b/x11-toolkits/pango/files/patch-ltmain.sh @@ -1,32 +1,15 @@ ---- ltmain.sh.orig Fri Apr 26 05:23:44 2002 -+++ ltmain.sh Wed Jul 3 12:50:12 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 - ;; -@@ -1073,8 +1073,16 @@ +--- ltmain.sh.orig Fri Nov 8 15:40:11 2002 ++++ ltmain.sh Tue Dec 3 18:47:10 2002 +@@ -1082,8 +1082,16 @@ continue ;; + -pthread) -+ compile_command="$compile_command -pthread" -+ finalize_command="$finalize_command -pthread" -+ compiler_flags="$compiler_flags -pthread" -+ continue -+ ;; ++ compile_command="$compile_command -pthread" ++ finalize_command="$finalize_command -pthread" ++ compiler_flags="$compiler_flags -pthread" ++ continue ++ ;; + -module) module=yes @@ -34,7 +17,7 @@ continue ;; -@@ -2399,6 +2407,9 @@ +@@ -2397,6 +2405,9 @@ # problems, so we reset it completely verstring="" ;; @@ -44,17 +27,7 @@ *) verstring="0.0" ;; -@@ -2502,6 +2513,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 -@@ -4286,10 +4300,12 @@ +@@ -4327,10 +4338,12 @@ fi # Install the pseudo-library for information purposes. |