openbsd-ports/sysutils/accountsservice/patches/patch-src_Makefile_in
2012-12-06 14:35:48 +00:00

34 lines
1.3 KiB
Plaintext

$OpenBSD: patch-src_Makefile_in,v 1.6 2012/12/06 14:35:48 ajacoutot Exp $
--- src/Makefile.in.orig Thu Nov 22 02:28:15 2012
+++ src/Makefile.in Thu Dec 6 15:30:10 2012
@@ -348,8 +348,8 @@ SUBDIRS = . libaccountsservice
INCLUDES = \
-DLOCALSTATEDIR=\""$(localstatedir)"\" \
-DDATADIR=\""$(datadir)"\" \
- -DICONDIR=\"$(localstatedir)/lib/AccountsService/icons\" \
- -DUSERDIR=\"$(localstatedir)/lib/AccountsService/users\" \
+ -DICONDIR=\"$(localstatedir)/db/AccountsService/icons\" \
+ -DUSERDIR=\"$(localstatedir)/db/AccountsService/users\" \
$(DBUS_GLIB_CFLAGS) \
$(GIO_CFLAGS) \
$(GLIB_CFLAGS) \
@@ -378,7 +378,8 @@ accounts_daemon_LDADD = \
$(DBUS_GLIB_LIBS) \
$(GIO_LIBS) \
$(GLIB_LIBS) \
- $(POLKIT_LIBS)
+ $(POLKIT_LIBS) \
+ -lkvm
CLEANFILES = $(BUILT_SOURCES)
all: $(BUILT_SOURCES)
@@ -830,8 +831,6 @@ accounts-user-generated.c accounts-user-generated.h: $
gdbus-codegen --generate-c-code accounts-user-generated --c-namespace Accounts --interface-prefix=org.freedesktop.Accounts. $(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.