summaryrefslogtreecommitdiff
path: root/devel/libstatgrab/patches/patch-ae
blob: 9ac0aa87cf80714b747bd6c61f7205d262ecb6f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ae,v 1.2 2009/05/16 11:46:09 obache Exp $

--- src/libstatgrab/Makefile.in.orig	2008-03-13 13:59:07.000000000 +0000
+++ src/libstatgrab/Makefile.in
@@ -58,6 +58,9 @@ am__installdirs = "$(DESTDIR)$(libdir)" 
 libLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(lib_LTLIBRARIES)
 libstatgrab_la_LIBADD =
+.if ${OPSYS} == "DragonFly"
+libstatgrab_la_LIBADD += -lkinfo
+.endif
 am__libstatgrab_la_SOURCES_DIST = cpu_stats.c disk_stats.c \
 	load_stats.c memory_stats.c network_stats.c os_info.c \
 	page_stats.c process_stats.c swap_stats.c user_stats.c tools.c \