xorg-x11-server/xserver-1.8.0-no-xorg.patch
Dan Horák 2fb6cdf5e5 * Tue Jun 22 2010 Dan Horák <dan@danny.cz> 1.8.0-8
- fix built with --disable-xorg like on s390/s390x
2010-06-22 16:54:57 +00:00

28 lines
687 B
Diff

From d7ad35e125cb9456d12abbd66ab061425d5e5564 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dan=20Hor=C3=A1k?= <dan@danny.cz>
Date: Tue, 22 Jun 2010 18:19:38 +0200
Subject: [PATCH] XF86CONFIGDIR is undefined when built with --disable-xorg
---
config/Makefile.am | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/config/Makefile.am b/config/Makefile.am
index 675a3b2..4bea057 100644
--- a/config/Makefile.am
+++ b/config/Makefile.am
@@ -9,8 +9,10 @@ AM_CFLAGS += $(UDEV_CFLAGS)
libconfig_la_SOURCES += udev.c
libconfig_la_LIBADD = $(UDEV_LIBS)
+if XORG
xorgconfddir = $(datadir)/X11/$(XF86CONFIGDIR)
xorgconfd_DATA = 10-evdev.conf
+endif
else
--
1.6.6.1