fltk: replace dependency on X.org server with dependency on libraries
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 6 Jan 2013 11:29:28 +0000 (11:29 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 12 Jan 2013 21:42:24 +0000 (22:42 +0100)
fltk is a X client library, so it doesn't make sense for it to depend
on the X.org server. Instead, it depends on libX11, libXext and libXt,
so we use those libraries as fltk dependencies.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/fltk/Config.in
package/fltk/fltk.mk

index eff72b56e83b55bb9e6c30601a158b922bc13285..20851922ae6570dde8855b90840742d04b53df55 100644 (file)
@@ -3,6 +3,8 @@ config BR2_PACKAGE_FLTK
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_PACKAGE_XORG7
        select BR2_PACKAGE_XLIB_LIBXT
+       select BR2_PACKAGE_XLIB_LIBX11
+       select BR2_PACKAGE_XLIB_LIBXEXT
        help
          A cross-platform C++ GUI toolkit for UNIX/Linux (X11),
          Microsoft Windows, and MacOS X.
index a5dac37b55e1605337364e53b8237fd981c992e4..3f192cdb489f4f2e07f61c114bfb3bef332825b7 100644 (file)
@@ -11,6 +11,6 @@ FLTK_INSTALL_STAGING = YES
 FLTK_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) STRIP=$(TARGET_STRIP) install
 FLTK_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) STRIP=$(TARGET_STRIP) install
 FLTK_CONF_OPT = --enable-threads --with-x
-FLTK_DEPENDENCIES = xserver_xorg-server xlib_libXt
+FLTK_DEPENDENCIES = xlib_libX11 xlib_libXext xlib_libXt
 
 $(eval $(autotools-package))