xscreensaver: add missing indirect dependency on atomics
authorArnout Vandecappelle <arnout@mind.be>
Wed, 4 Feb 2015 00:34:16 +0000 (01:34 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 7 Feb 2015 20:23:30 +0000 (21:23 +0100)
Also reformat the comment lines and fix the comment.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/xscreensaver/Config.in

index 62600402746f1786dfcb91991ced7dd0ac6ce365..59b19c5eb11c571d9a3fe5b4dfc9368ef3e40c52 100644 (file)
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_XSCREENSAVER
        bool "xscreensaver"
        depends on BR2_PACKAGE_XORG7
-       depends on BR2_INSTALL_LIBSTDCPP # libgtk2->pango
-       depends on BR2_TOOLCHAIN_HAS_THREADS # libgtk2->glib2
-       depends on BR2_USE_WCHAR # libgtk2->glib2
-       depends on BR2_USE_MMU # libgtk2->glib2
+       depends on BR2_INSTALL_LIBSTDCPP # libgtk2 -> pango
+       depends on BR2_TOOLCHAIN_HAS_THREADS # libgtk2 -> glib2
+       depends on BR2_USE_WCHAR # libgtk2 -> glib2
+       depends on BR2_USE_MMU # libgtk2 -> glib2
+       depends on BR2_ARCH_HAS_ATOMICS # libgtk2 -> cairo
        select BR2_PACKAGE_LIBGTK2
        select BR2_PACKAGE_LIBGLADE
        select BR2_PACKAGE_JPEG
@@ -24,4 +25,6 @@ config BR2_PACKAGE_XSCREENSAVER
 comment "xscreensaver needs a toolchain w/ wchar, C++, threads"
        depends on BR2_PACKAGE_XORG7
        depends on BR2_USE_MMU
-       depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS)
+       depends on BR2_ARCH_HAS_ATOMICS
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
+               !BR2_USE_WCHAR