package/php-ssh2: fix kconfig circular deps after libssh2 fix
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 11 Sep 2016 21:49:19 +0000 (23:49 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 12 Sep 2016 07:48:17 +0000 (09:48 +0200)
After we simplified the libssh2 dependencies, the new dependencies were
not propagated to the php-ssh2 package, causing circular dependencies:

    package/openssl/Config.in:1:error: recursive dependency detected!
    package/openssl/Config.in:1:    symbol BR2_PACKAGE_OPENSSL is selected by BR2_PACKAGE_LIBSSH2
    package/libssh2/Config.in:1:    symbol BR2_PACKAGE_LIBSSH2 is selected by BR2_PACKAGE_PHP_SSH2
    package/php-ssh2/Config.in:1:   symbol BR2_PACKAGE_PHP_SSH2 depends on BR2_PACKAGE_OPENSSL

Just drop the now-useless dependency inherited from libssh2: libssh2 now
has no dependency.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/php-ssh2/Config.in

index c795dd527772cab0c2ddf42e7853e18c8848295a..b4579007400fcde01ac30cd9c3274ffe228f92d6 100644 (file)
@@ -1,8 +1,6 @@
 config BR2_PACKAGE_PHP_SSH2
        bool "php-ssh2"
        depends on BR2_PACKAGE_PHP
-       depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS \
-               && !BR2_PACKAGE_OPENSSL # libssh2, libgcrypt
        select BR2_PACKAGE_LIBSSH2
        help
          PHP bindings for the libssh2 library.