From c9103b2e41c9d30942b671842811609f6414e61e Mon Sep 17 00:00:00 2001 From: brad Date: Sun, 18 Feb 2001 19:52:47 +0000 Subject: [PATCH] sync libtool patch --- .../lzo/patches/patch-acconfig_ltmain.sh | 28 +++++++++++++++---- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/archivers/lzo/patches/patch-acconfig_ltmain.sh b/archivers/lzo/patches/patch-acconfig_ltmain.sh index 91b2036c40f..24193885369 100644 --- a/archivers/lzo/patches/patch-acconfig_ltmain.sh +++ b/archivers/lzo/patches/patch-acconfig_ltmain.sh @@ -1,17 +1,35 @@ ---- acconfig/ltmain.sh.orig Thu Feb 8 16:07:36 2001 -+++ acconfig/ltmain.sh Thu Feb 8 16:07:41 2001 -@@ -1079,6 +1079,10 @@ +--- acconfig/ltmain.sh.orig Tue Oct 17 21:25:10 2000 ++++ acconfig/ltmain.sh Sun Feb 18 09:50:26 2001 +@@ -1079,6 +1079,17 @@ # These systems don't actually have c library (as such) continue ;; + *-*-openbsd*) + # Do not include libc due to us having libc/libc_r. + continue ++ ;; ++ esac ++ elif test "$arg" = "-lc_r"; then ++ case "$host" in ++ *-*-openbsd*) ++ # Do not include libc_r directly, use -pthread flag. ++ continue + ;; esac elif test "$arg" = "-lm"; then case "$host" in -@@ -1795,6 +1799,9 @@ +@@ -1091,6 +1102,10 @@ + deplibs="$deplibs $arg" + ;; + ++ -?thread) ++ deplibs="$deplibs $arg" ++ ;; ++ + -module) + module=yes + continue +@@ -1795,6 +1810,9 @@ *-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*) # these systems don't actually have a c library (as such)! ;; @@ -21,7 +39,7 @@ *-*-rhapsody*) # rhapsody is a little odd... deplibs="$deplibs -framework System" -@@ -3567,40 +3574,6 @@ +@@ -3567,40 +3585,6 @@ # Exit here if they wanted silent mode. test "$show" = : && exit 0