openvswitch: fix build with libunbound
authorStijn Tintel <stijn@linux-ipv6.be>
Wed, 22 Sep 2021 12:51:34 +0000 (15:51 +0300)
committerYousong Zhou <yszhou4tech@gmail.com>
Thu, 23 Sep 2021 01:15:34 +0000 (09:15 +0800)
Due to a copy-paste error, libopenvswitch is missing a dependency when
Open vSwitch is configured to use unbound:

Package openvswitch-libopenvswitch is missing dependencies for the following libraries:
libunbound.so.8

Use the correct config symbol to solve this.

Fixes: 45c8cc9d8a7b ("openvswitch: make libunbound optional")
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
net/openvswitch/Makefile

index f8f99a1e64441d27ec6e63906c55876325f077af..bbe8b461404ce828c30155b66e31bd5d899e5062 100644 (file)
@@ -17,7 +17,7 @@ include ./openvswitch.mk
 #
 PKG_NAME:=openvswitch
 PKG_VERSION:=$(ovs_version)
-PKG_RELEASE:=7
+PKG_RELEASE:=8
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://www.openvswitch.org/releases/
 PKG_HASH:=7d5797f2bf2449c6a266149e88f72123540f7fe7f31ad52902057ae8d8f88c38
@@ -155,7 +155,7 @@ ovs_libopenvswitch_title:=Open vSwitch (libopenvswitch.so)
 ovs_libopenvswitch_hidden:=1
 ovs_libopenvswitch_depends:=+libopenssl +!(arc||arceb):libunwind
 ovs_libopenvswitch_depends+=+libatomic
-ifeq ($(CONFIG_KEEPALIVED_ROUTES),y)
+ifeq ($(CONFIG_OPENVSWITCH_WITH_LIBUNBOUND),y)
 ovs_libopenvswitch_depends+=+libunbound
 endif
 ovs_libopenvswitch_files:=usr/lib/libopenvswitch*.so*