void-packages/srcpkgs/xorg-server/patches/xorgconfddir_without_prefix...

14 lines
831 B
Diff

Do not append $(prefix) to xorgconfddir, we are using prefix=/usr.
--- config/Makefile.in.orig 2010-04-02 11:16:05.543826596 +0200
+++ config/Makefile.in 2010-04-02 11:16:30.854832565 +0200
@@ -451,7 +451,7 @@ libconfig_la_SOURCES = config.c config-b
@CONFIG_NEED_DBUS_TRUE@@CONFIG_UDEV_FALSE@ $(DBUS_LIBS) \
@CONFIG_NEED_DBUS_TRUE@@CONFIG_UDEV_FALSE@ $(am__append_8)
@CONFIG_UDEV_TRUE@libconfig_la_LIBADD = $(UDEV_LIBS) $(am__append_8)
-@CONFIG_UDEV_TRUE@xorgconfddir = $(prefix)/etc/X11/$(XF86CONFIGDIR)
+@CONFIG_UDEV_TRUE@xorgconfddir = /etc/X11/$(XF86CONFIGDIR)
@CONFIG_UDEV_TRUE@xorgconfd_DATA = 10-evdev.conf
@CONFIG_DBUS_API_TRUE@@CONFIG_NEED_DBUS_TRUE@@CONFIG_UDEV_FALSE@dbusconfigdir = $(sysconfdir)/dbus-1/system.d
@CONFIG_DBUS_API_TRUE@@CONFIG_NEED_DBUS_TRUE@@CONFIG_UDEV_FALSE@dbusconfig_DATA = xorg-server.conf