odhcpd-ipv6only: fix dependency for IPV6
[openwrt/openwrt.git] / 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)