openbsd-ports/sysutils/knutclient/patches/patch-admin_ltmain_sh
wilfried 7eadf751ed Import knutclient 0.6.0; submitted by Craig Barraclough <craigba@creative.com.au>
KNUTClient is a graphical interface to NUT - the Network UPS Tool.
KNUTClient allows realtime monitoring of UPS variables such as load,
voltage and temperature. Supports accessing NUT across networks.
2003-04-17 09:18:56 +00:00

43 lines
923 B
Plaintext

$OpenBSD: patch-admin_ltmain_sh,v 1.1.1.1 2003/04/17 09:18:56 wilfried Exp $
--- admin/ltmain.sh.orig Thu Jul 11 20:16:36 2002
+++ admin/ltmain.sh Tue Mar 25 15:58:15 2003
@@ -1229,6 +1229,17 @@ EOF
continue
;;
+ -pthread)
+ case $host in
+ *-*-openbsd*)
+ deplibs="$deplibs $arg"
+ ;;
+ *)
+ continue
+ ;;
+ esac
+ ;;
+
-module)
module=yes
continue
@@ -1804,6 +1815,20 @@ EOF
fi
continue
;;
+ -pthread)
+ case $linkmode in
+ lib)
+ deplibs="$deplib $deplibs"
+ newdependency_libs="$deplib $newdependency_libs"
+ ;;
+ prog)
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ ;;
+ esac
+ continue
+ ;;
+
%DEPLIBS%)
alldeplibs=yes
continue