Fix dependencies for TrapProto
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 13 Feb 2010 14:49:04 +0000 (15:49 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 13 Feb 2010 15:13:37 +0000 (16:13 +0100)
The .pc file of TrapProto says that it depends on xt, even through it
doesn't depend on it at compile time. However, if xt isn't present
when TrapProto has been installed, the compilation of Xserver fails
telling that there is a missing dependency in TrapProto on Xt.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/x11r7/xproto_trapproto/Config.in
package/x11r7/xproto_trapproto/xproto_trapproto.mk

index 3d2868f6f1223b5893957f48a380eb451c58c82b..0f9c4708e25e1410e0606aa9a041b7fec0df80f2 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_XPROTO_TRAPPROTO
        bool "trapproto"
+       select BR2_PACKAGE_XLIB_LIBXT
        help
          trapproto 3.4.3
          X.Org Trap protocol headers
index 5ef5fa590c62108d9d0bad222c0cd3b9920c6324..29c435607eeac91bf8a8017437794dc9973f517c 100644 (file)
@@ -10,5 +10,6 @@ XPROTO_TRAPPROTO_SITE = http://xorg.freedesktop.org/releases/individual/proto
 XPROTO_TRAPPROTO_AUTORECONF = NO
 XPROTO_TRAPPROTO_INSTALL_STAGING = YES
 XPROTO_TRAPPROTO_INSTALL_TARGET = NO
+XPROTO_TRAPPROTO_DEPENDENCIES = xlib_libXt
 
 $(eval $(call AUTOTARGETS,package/x11r7,xproto_trapproto))