package/php-*: remove php dependency for php modules
authorRomain Naour <romain.naour@smile.fr>
Tue, 4 Feb 2020 13:24:43 +0000 (14:24 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 4 Feb 2020 16:30:06 +0000 (17:30 +0100)
php modules can't be selected if the php package is not selected, see [1].
So adding the dependency is not necessary.
Also we don't add such dependencies for python modules.

[1] https://git.buildroot.net/buildroot/tree/package/Config.in?h=2019.11#n798

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Cc: Nicolas Carrier <nicolas.carrier@orolia.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/php-amqp/Config.in
package/php-geoip/Config.in
package/php-gnupg/Config.in
package/php-imagick/Config.in
package/php-ssh2/Config.in
package/php-yaml/Config.in
package/php-zmq/Config.in

index dc779f0ee0626aa4cda4048e7e634c690258b777..48fff91d4ddecc7d85d94e1f51a14e0fda09201e 100644 (file)
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_PHP_AMQP
        bool "php-amqp"
-       depends on BR2_PACKAGE_PHP
        depends on BR2_TOOLCHAIN_HAS_THREADS # rabbitmq-c
        select BR2_PACKAGE_OPENSSL # rabbitmq-c: amqp_ssl_socket.h
        select BR2_PACKAGE_RABBITMQ_C
index adb20466fc8bbef9d9f6b5851c320aa3df201213..35c6c1c3621620e37b18affca54846abab652294 100644 (file)
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_PHP_GEOIP
        bool "php-geoip"
-       depends on BR2_PACKAGE_PHP
        select BR2_PACKAGE_GEOIP
        help
          PHP GeoIP-based IP address mapper to geographical places.
index 113017d02a24c89c3c8ed9a38b4386a96363e680..8cc8bb9f3cf66396cfc5bf623f8bde20f5c142e9 100644 (file)
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_PHP_GNUPG
        bool "php-gnupg"
-       depends on BR2_PACKAGE_PHP
        depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # ligpgme
        depends on BR2_USE_MMU # libassuan
        select BR2_PACKAGE_LIBGPGME
index f759eea2f5d4b5f5ab57cdeb8adf6709b2048f21..488e375849eed9c9719be726cb332a04bcd78d40 100644 (file)
@@ -1,6 +1,5 @@
 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
@@ -11,5 +10,4 @@ config BR2_PACKAGE_PHP_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
index b4579007400fcde01ac30cd9c3274ffe228f92d6..5a23114baf7c24ae1a23e339240c0dbb8e3b536b 100644 (file)
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_PHP_SSH2
        bool "php-ssh2"
-       depends on BR2_PACKAGE_PHP
        select BR2_PACKAGE_LIBSSH2
        help
          PHP bindings for the libssh2 library.
index 8d09ce28f3ad6d76aa52056309ae73ae17c34c94..28f917fe60afc50d3c4552ab0baf56c1bcc43e5c 100644 (file)
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_PHP_YAML
        bool "php-yaml"
-       depends on BR2_PACKAGE_PHP
        select BR2_PACKAGE_LIBYAML
        help
          PHP YAML-1.1 parser and emitter.
index 058f93d9a862e330901ebc60dc76133a8837844a..37be17792a66973212bca008e9312b86051c1659 100644 (file)
@@ -3,7 +3,6 @@ comment "php-zmq needs a toolchain w/ C++, threads"
 
 config BR2_PACKAGE_PHP_ZMQ
        bool "php-zmq"
-       depends on BR2_PACKAGE_PHP
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_TOOLCHAIN_HAS_THREADS
        select BR2_PACKAGE_ZEROMQ