summaryrefslogtreecommitdiff
path: root/packages/xorg-xserver/xserver-kdrive-1.2/enable-tslib.patch
blob: 1e72a3ea535b578efa0625d6bcb5ec89fcd8bb6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Index: xorg-server-1.2.0/hw/kdrive/fbdev/Makefile.am
===================================================================
--- xorg-server-1.2.0.orig/hw/kdrive/fbdev/Makefile.am	2007-03-29 11:53:24.000000000 +0200
+++ xorg-server-1.2.0/hw/kdrive/fbdev/Makefile.am	2007-03-29 11:53:27.000000000 +0200
@@ -6,6 +6,10 @@
 
 bin_PROGRAMS = Xfbdev
 
+if TSLIB
+TSLIB_FLAG = -lts
+endif
+
 libfbdev_a_SOURCES =	\
 	fbdev.c		\
 	fbdev.h
@@ -16,7 +20,10 @@
 Xfbdev_LDADD = 						\
 	libfbdev.a					\
 	@KDRIVE_LIBS@					\
-	@XSERVER_LIBS@					
+	@XSERVER_LIBS@					\
+	$(TSLIB_FLAG)
 
 Xfbdev_DEPENDENCIES =					\
-	libfbdev.a
+	libfbdev.a					\
+	@KDRIVE_LIBS@					
+