From 78049772153836218371b055175b19f62a0cf981 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Wed, 15 Jul 2020 20:35:00 +0200 Subject: [PATCH] sipgrep: make IPv6 support depend on CONFIG_IPV6 Signed-off-by: Sebastian Kemper --- net/sipgrep/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/net/sipgrep/Makefile b/net/sipgrep/Makefile index 06e0089..e69b7d6 100644 --- a/net/sipgrep/Makefile +++ b/net/sipgrep/Makefile @@ -17,7 +17,7 @@ PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/sipcapture/sipgrep.git PKG_SOURCE_VERSION:=1cc00079cd80310f7e8b1a696e9a02b8a2b25e04 PKG_SOURCE_DATE=2019-06-27 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MIRROR_HASH:=3480f83a4af2a2972f3aa981343b067fa35ddc74f42c3e459630f31aba8f2d91 PKG_BUILD_PARALLEL:=1 @@ -25,6 +25,8 @@ PKG_FIXUP:=autoreconf PKG_INSTALL:=1 +PKG_CONFIG_DEPENDS:=CONFIG_IPV6 + include $(INCLUDE_DIR)/package.mk define Package/sipgrep @@ -42,8 +44,7 @@ troubleshoot SIP signaling over IP networks, allowing the user to specify extended regular expressions matching against SIP headers. endef -CONFIGURE_ARGS += \ - --enable-ipv6 +CONFIGURE_ARGS+=$(if $(CONFIG_IPV6),--enable-ipv6) define Package/sipgrep/install $(INSTALL_DIR) $(1)/usr/bin