openbsd-ports/net/net-snmp/patches/patch-configure_d_config_os_libs2
sthen 7d7c74743c - convert kinfo_proc2 -> kinfo_procs
- don't use "#if defined(openbsd3) || defined(openbsd4)" all over the place,
this is definitely not web scale

- zap some pointless ifdefs
2011-07-06 21:32:57 +00:00

14 lines
468 B
Plaintext

$OpenBSD: patch-configure_d_config_os_libs2,v 1.2 2011/07/06 21:32:57 sthen Exp $
--- configure.d/config_os_libs2.orig Wed Nov 17 19:39:24 2010
+++ configure.d/config_os_libs2 Wed Jan 5 17:16:43 2011
@@ -155,6 +155,9 @@ NETSNMP_SEARCH_LIBS(kstat_lookup, kstat,
[Define to 1 if you have the `kstat' library (-lkstat).]),,,
LNETSNMPLIBS)
+if test "x${PARTIALTARGETOS%[0-9]}" = "xopenbsd"; then
+ LMIBLIBS="$LMIBLIBS -pthread"
+fi
# libkvm
#