summaryrefslogtreecommitdiff
path: root/sysutils/consolekit/patches/patch-ab
blob: 28ac7f767ba15f8dc495b652b7141aab9316ad46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-ab,v 1.1.1.1 2008/11/22 03:32:22 jmcneill Exp $

--- src/Makefile.am.orig	2008-07-25 14:38:56.000000000 -0400
+++ src/Makefile.am
@@ -56,11 +56,18 @@ libck_la_SOURCES +=		\
 	$(NULL)
 libck_la_LIBADD = $(KVM_LIBS)
 endif
+if CK_COMPILE_NETBSD
+libck_la_SOURCES +=		\
+	ck-sysdeps-netbsd.c	\
+	$(NULL)
+libck_la_LIBADD = -lkvm
+endif
 
 EXTRA_libck_la_SOURCES =		\
 	ck-sysdeps-linux.c		\
 	ck-sysdeps-solaris.c		\
 	ck-sysdeps-freebsd.c		\
+	ck-sysdeps-netbsd.c		\
 	$(NULL)
 
 sbin_PROGRAMS = 		\