From ca3489da7cdad87979f3bb096bdd3c85b9b46f9b Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Fri, 2 Jul 2010 14:04:34 +0200 Subject: blackbox: needs iconv if !locale Closes #2101 At the same time fix dependencies so it can be built without a local X server, and a comment is shown if C++ support isn't enabled. Signed-off-by: Peter Korsgaard --- package/blackbox/Config.in | 5 +++++ package/blackbox/blackbox.mk | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'package/blackbox') diff --git a/package/blackbox/Config.in b/package/blackbox/Config.in index bf237c53a..70f7eb4b5 100644 --- a/package/blackbox/Config.in +++ b/package/blackbox/Config.in @@ -2,8 +2,13 @@ config BR2_PACKAGE_BLACKBOX bool "blackbox" depends on BR2_PACKAGE_XORG7 depends on BR2_INSTALL_LIBSTDCPP + select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE + select BR2_PACKAGE_XLIB_LIBX11 help Blackbox is a fast, lightweight window manager for the X Window System. http://blackboxwm.sourceforge.net/ + +comment "blackbox requires a toolchain with C++ support enabled" + depends on BR2_PACKAGE_XORG7 && !BR2_INSTALL_LIBSTDCPP diff --git a/package/blackbox/blackbox.mk b/package/blackbox/blackbox.mk index 41deb5860..e3c8c341b 100644 --- a/package/blackbox/blackbox.mk +++ b/package/blackbox/blackbox.mk @@ -14,6 +14,10 @@ BLACKBOX_INSTALL_TARGET:=YES BLACKBOX_CONF_OPT:=--x-includes=$(STAGING_DIR)/usr/include/X11 \ --x-libraries=$(STAGING_DIR)/usr/lib -BLACKBOX_DEPENDENCIES:=xserver_xorg-server +BLACKBOX_DEPENDENCIES = xlib_libX11 + +ifneq ($(BR2_ENABLE_LOCALE),y) +BLACKBOX_DEPENDENCIES += libiconv +endif $(eval $(call AUTOTARGETS,package,blackbox)) -- cgit v1.2.3