package/cups-pk-helper: fix dependencies

Fix dependencies which are wrong since the addition of the package in
commit e13c9ccf43 resulting in the
following build failure:

Makefile:587: *** duktape is in the dependency chain of polkit that has added it to its _DEPENDENCIES variable without selecting it or depending on it from Config.in.  Stop.

Fixes:
 - http://autobuild.buildroot.org/results/706a09b245880e99109a4cc99faffe83f458afc4

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Fabrice Fontaine 2021-12-17 23:54:16 +01:00 committed by Yann E. MORIN
parent 1b3055cc8d
commit ff58dc6c35

View File

@ -1,8 +1,10 @@
config BR2_PACKAGE_CUPS_PK_HELPER
bool "cups-pk-helper"
depends on BR2_USE_MMU
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # polkit -> c++17
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2, polkit
depends on BR2_USE_WCHAR # libglib2
depends on !BR2_STATIC_LIBS # polkit -> duktape
depends on BR2_PACKAGE_CUPS
select BR2_PACKAGE_POLKIT
help
@ -11,7 +13,7 @@ config BR2_PACKAGE_CUPS_PK_HELPER
https://wiki.freedesktop.org/www/Software/cups-pk-helper/
comment "cups-pk-helper support needs a toolchain with threads, wchar, gcc >= 7"
comment "cups-pk-helper support needs a toolchain with threads, wchar, dynamic library, gcc >= 7"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \
!BR2_TOOLCHAIN_HAS_THREADS
!BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS