package/php-*: remove php dependency for php modules
PATCH 1/1 package/php-*: remove php dependency for php modules
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 <[email protected]>
Cc Nicolas Carrier <[email protected]>
--- package/php-amqp/Config.in | 1 - package/php-geoip/Config.in | 1 - package/php-gnupg/Config.in | 1 - package/php-imagick/Config.in | 2 -- package/php-ssh2/Config.in | 1 - package/php-yaml/Config.in | 1 - package/php-zmq/Config.in | 1 - 7 files changed, 8 deletions(-)
package/php-amqp/Config.in +0 -1
@@ -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
package/php-geoip/Config.in +0 -1
@@ -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.
package/php-gnupg/Config.in +0 -1
@@ -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
package/php-imagick/Config.in +0 -2
@@ -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
package/php-ssh2/Config.in +0 -1
@@ -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.
package/php-yaml/Config.in +0 -1
@@ -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.
package/php-zmq/Config.in +0 -1
@@ -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
Signature · 1 line
2.24.1
PATCH 1/1 package/php-*: remove php dependency for php modules
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Romain" == Romain Naour <[email protected]> writes:
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 <[email protected]>Cc Nicolas Carrier <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard