imagemagick: needs thread support
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 1 Jan 2015 16:36:23 +0000 (17:36 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 1 Jan 2015 16:36:23 +0000 (17:36 +0100)
The no thread support in imagemagick is broken since the last
bump. Since supporting non-threaded configurations is not that
important, let's simply make imagemagick depend on thread support.

Fixes:

  http://autobuild.buildroot.org/results/4e6/4e6d0bbe120579ab4a54960ee794e8cf64b99e80/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/imagemagick/Config.in
package/php-imagick/Config.in

index 1bd04a99b34217143b752f4723005d342e63ebea..0bd4df2ab7dbe3dfd112802ce828c214e76e9e02 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_IMAGEMAGICK
        bool "imagemagick"
        depends on BR2_USE_MMU # fork()
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        help
          ImageMagick(R) is a software suite to create, edit, and compose
          bitmap images. It can read, convert and write images in a variety of
@@ -11,3 +12,7 @@ config BR2_PACKAGE_IMAGEMAGICK
          lines, polygons, ellipses and Bézier curves.
 
          http://www.imagemagick.org/
+
+comment "imagemagick needs a toolchain w/ threads"
+       depends on BR2_USE_MMU
+       depends on !BR2_TOOLCHAIN_HAS_THREADS
index a5e32a51fb965ab402b4ee432932a36eef8e842b..f759eea2f5d4b5f5ab57cdeb8adf6709b2048f21 100644 (file)
@@ -2,8 +2,14 @@ config BR2_PACKAGE_PHP_IMAGICK
        bool "php-imagick"
        depends on BR2_PACKAGE_PHP
        depends on BR2_USE_MMU # imagemagick
+       depends on BR2_TOOLCHAIN_HAS_THREADS # imagemagick
        select BR2_PACKAGE_IMAGEMAGICK
        help
          PHP wrapper to the ImageMagick library.
 
          http://pecl.php.net/package/imagick
+
+comment "php-imagemagick needs a toolchain w/ threads"
+       depends on BR2_USE_MMU
+       depends on BR2_PACKAGE_PHP
+       depends on !BR2_TOOLCHAIN_HAS_THREADS