openbsd-ports/x11/kde/patches-3.2.3/patch-admin_ltmain_sh
espie 3142419058 basic update to kde 3.2.3.
A few files to remove/add yet.
2004-07-24 12:47:13 +00:00

53 lines
1.0 KiB
Plaintext

$OpenBSD: patch-admin_ltmain_sh,v 1.1 2004/07/24 12:47:15 espie Exp $
--- admin/ltmain.sh.orig Sat Feb 28 10:58:06 2004
+++ admin/ltmain.sh Fri Jul 16 01:12:24 2004
@@ -1294,6 +1294,17 @@ EOF
continue
;;
+ -pthread)
+ case $host in
+ *-*-openbsd*)
+ deplibs="$deplibs $arg"
+ ;;
+ *)
+ continue
+ ;;
+ esac
+ ;;
+
-module)
module=yes
continue
@@ -1973,6 +1984,30 @@ EOF
fi
continue
;;
+ -pthread)
+ case $linkmode in
+ lib)
+ deplibs="$deplib $deplibs"
+ test "$pass" = conv && continue
+ newdependency_libs="$deplib $newdependency_libs"
+ ;;
+ prog)
+ if test "$pass" = conv; then
+ deplibs="$deplib $deplibs"
+ continue
+ fi
+ if test "$pass" = scan; then
+ deplibs="$deplib $deplibs"
+ else
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ fi
+ ;;
+ *)
+ ;;
+ esac # linkmode
+ continue
+ ;; # -pthread
%DEPLIBS%)
alldeplibs=yes
continue