ipsec-tools: use select rather than depends for library dependencies
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 2 Mar 2009 19:56:13 +0000 (19:56 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 2 Mar 2009 19:56:13 +0000 (19:56 -0000)
As noticed on the mailing list.

package/ipsec-tools/Config.in

index 50777ab39b566f89f3b4201658beb2869337e637..355616d0af5a5311efc9fe727180c0ca819bc97b 100644 (file)
@@ -1,12 +1,11 @@
 config BR2_PACKAGE_IPSEC_TOOLS
        bool "ipsec-tools"
-       depends on BR2_PACKAGE_OPENSSL && BR2_PACKAGE_FLEX && BR2_PACKAGE_FLEX_LIBFL
+       select BR2_PACKAGE_OPENSSL
+       select BR2_PACKAGE_FLEX
+       select BR2_PACKAGE_FLEX_LIBFL
        help
          This package is required to support IPSec for Linux 2.6+
 
-comment "ipsec-tools   - disabled (requires openssl, flex and the flex library (libfl.a) )"
-       depends on !BR2_PACKAGE_OPENSSL || !BR2_PACKAGE_FLEX
-
 config BR2_PACKAGE_IPSEC_TOOLS_ADMINPORT
        default y
        depends on BR2_PACKAGE_IPSEC_TOOLS