xorg-x11-server/xserver-1.8-no-hardcoded-etc.patch
Peter Hutterer f342378ba0 * Tue Apr 06 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.8.0-1
- xserver 1.8.0
- Drop merged patches.
- Rename xdmx client to dmxinfo (change upstream).
- xserver-1.8-no-hardcoded-etc.patch: don't hardcode $prefix/etc for the
  server-installed 10-evdev.conf.
2010-04-07 00:14:26 +00:00

29 lines
837 B
Diff

From 7fc78783018cf2ce27f8e6829f9eff1d9032541c Mon Sep 17 00:00:00 2001
From: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed, 7 Apr 2010 09:27:59 +1000
Subject: [PATCH] config: don't hardcode /etc for 10-evdev.conf
Use sysconfdir instead to avoid amusements like /usr/etc/ and the like.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
---
config/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/config/Makefile.am b/config/Makefile.am
index eed7454..2e468cf 100644
--- a/config/Makefile.am
+++ b/config/Makefile.am
@@ -9,7 +9,7 @@ AM_CFLAGS += $(UDEV_CFLAGS)
libconfig_la_SOURCES += udev.c
libconfig_la_LIBADD = $(UDEV_LIBS)
-xorgconfddir = $(prefix)/etc/X11/$(XF86CONFIGDIR)
+xorgconfddir = $(sysconfdir)/X11/$(XF86CONFIGDIR)
xorgconfd_DATA = 10-evdev.conf
else
--
1.6.6.1