$OpenBSD: patch-src_Makefile_in,v 1.2 2011/05/23 08:22:43 ajacoutot Exp $
--- src/Makefile.in.orig	Thu May 19 05:45:35 2011
+++ src/Makefile.in	Sun May 22 19:51:45 2011
@@ -325,7 +325,8 @@ accounts_daemon_LDADD = \
 	$(DBUS_GLIB_LIBS) 	\
 	$(GIO_LIBS)		\
 	$(GLIB_LIBS)		\
-	$(POLKIT_LIBS)
+	$(POLKIT_LIBS)		\
+	-lkvm
 
 CLEANFILES = $(BUILT_SOURCES)
 all: $(BUILT_SOURCES)
@@ -782,8 +783,6 @@ user-glue.h: $(top_srcdir)/data/org.freedesktop.Accoun
 	dbus-binding-tool --prefix=user --mode=glib-server --output=user-glue.h $(top_srcdir)/data/org.freedesktop.Accounts.User.xml
 
 install-data-hook:
-	$(MKDIR_P) "$(DESTDIR)$(localstatedir)/lib/AccountsService/users"
-	$(MKDIR_P) "$(DESTDIR)$(localstatedir)/lib/AccountsService/icons"
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
