odhcpd-ipv6only: fix dependency for IPV6
authorRosy Song <rosysong@rosinson.com>
Wed, 26 Sep 2018 11:44:25 +0000 (19:44 +0800)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:22:04 +0000 (17:22 +0100)
Signed-off-by: Rosy Song <rosysong@rosinson.com>
(backported from 456df06071f54d3c799725227d1ac77afbe61891)

package/network/services/odhcpd/Makefile

index 03adf004551861c24b6fc7264cc84884706f2221..8c9a3d72d0e7f319e0690f394bbb7d68f0545053 100644 (file)
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=odhcpd
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 PKG_VERSION:=1.11
 
 PKG_SOURCE_PROTO:=git
@@ -72,6 +72,7 @@ endef
 define Package/odhcpd-ipv6only
   $(call Package/odhcpd/default)
   VARIANT:=ipv6only
+  DEPENDS+= @IPV6
 endef
 
 Package/odhcpd-ipv6only/config=$(call Package/odhcpd/default/config,odhcpd-ipv6only,ipv6only)