package/gnuchess: needs c++
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 26 Apr 2015 20:31:48 +0000 (22:31 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 26 Apr 2015 20:43:54 +0000 (22:43 +0200)
Quoted from ChangeLog:

2013-11-23  Antonio Ceballos  <aceballos@gmail.com>
[...]
    * doc/gnuchess.texi: frontend no longer compiled in C; now in C++.

Fixes
http://autobuild.buildroot.net/results/04e/04e7c14c20f0e056e63a712be3821a3f5c94cff1/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gnuchess/Config.in

index 13ae801fb8baa90cf54c08c47e56ea87de3f82ec..aa446f4b22cc2beaccab2a048206345971ebe62e 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_GNUCHESS
        bool "gnuchess"
+       depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_TOOLCHAIN_HAS_THREADS
        select BR2_PACKAGE_FLEX
        help
@@ -7,5 +8,5 @@ config BR2_PACKAGE_GNUCHESS
 
          http://ftp.gnu.org/pub/gnu/chess
 
-comment "gnuchess needs a toolchain w/ threads"
-       depends on !BR2_TOOLCHAIN_HAS_THREADS
+comment "gnuchess needs a toolchain w/ C++, threads"
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS