From 07bcdd9fa76f6019542cdb55af127743c1f6239a Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sat, 3 Feb 2018 13:48:58 +0100 Subject: [PATCH] kamailio-5.x: improve module depends Currently the Makefile pulls in depends even for packages which are not selected. Fix this by prefixing the depends with the respective PACKAGE_* item. Signed-off-by: Sebastian Kemper --- net/kamailio-5.x/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/kamailio-5.x/Makefile b/net/kamailio-5.x/Makefile index 9e9a825..0640544 100644 --- a/net/kamailio-5.x/Makefile +++ b/net/kamailio-5.x/Makefile @@ -93,7 +93,7 @@ define BuildKamailio5Module define Package/kamailio5-mod-$(subst _,-,$(1)) $$(call Package/kamailio5/Default) TITLE:=$(2) for Kamailio5 - DEPENDS:=kamailio5 $(4) + DEPENDS:=kamailio5 $(patsubst +%,+PACKAGE_kamailio5-mod-$(subst _,-,$(1)):%,$(4)) endef define Package/kamailio5-mod-$(subst _,-,$(1))/install -- 2.30.2