slackware-current/source/l/ConsoleKit2/patches/0002-Fix-some-libdir-scripts-stuff-missed-in-4d87a25ea0af.patch

43 lines
1.5 KiB
Diff
Raw Normal View History

From b045a4245199b12dfc04f03b22bc1e9b1f80aae9 Mon Sep 17 00:00:00 2001
From: Robby Workman <rworkman@slackware.com>
Date: Sun, 23 Aug 2015 16:53:52 -0500
Subject: [PATCH 2/5] Fix some libdir/scripts stuff missed in 4d87a25ea0af
---
src/ck-seat.c | 2 +-
tools/Makefile.am | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/ck-seat.c b/src/ck-seat.c
index ead6425..47e6933 100644
--- a/src/ck-seat.c
+++ b/src/ck-seat.c
@@ -1443,7 +1443,7 @@ ck_seat_run_programs (CkSeat *seat,
g_assert(n <= G_N_ELEMENTS(extra_env));
ck_run_programs (SYSCONFDIR "/ConsoleKit/run-seat.d", action, extra_env);
- ck_run_programs (PREFIX "/lib/ConsoleKit/run-seat.d", action, extra_env);
+ ck_run_programs (LIBDIR "/ConsoleKit/run-seat.d", action, extra_env);
for (n = 0; extra_env[n] != NULL; n++) {
g_free (extra_env[n]);
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 69dd1eb..d61b845 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -171,9 +171,9 @@ udev_acl_CFLAGS = \
$(NULL)
install-exec-hook:
- mkdir -p $(DESTDIR)$(prefix)/lib/ConsoleKit/run-seat.d
+ mkdir -p $(DESTDIR)$(libdir)/ConsoleKit/run-seat.d
mkdir -p $(DESTDIR)$(UDEVDIR)
- ln -sf $(libexecdir)/udev-acl $(DESTDIR)$(prefix)/lib/ConsoleKit/run-seat.d/udev-acl.ck
+ ln -sf $(libexecdir)/udev-acl $(DESTDIR)$(libdir)/ConsoleKit/run-seat.d/udev-acl.ck
ln -sf $(libexecdir)/udev-acl $(DESTDIR)$(UDEVDIR)/udev-acl
endif
--
2.5.1