freeswitch: fix shadow dep
authorSebastian Kemper <sebastian_ml@gmx.net>
Sat, 15 Aug 2020 10:29:40 +0000 (12:29 +0200)
committerSebastian Kemper <sebastian_ml@gmx.net>
Sat, 15 Aug 2020 10:29:43 +0000 (12:29 +0200)
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
net/freeswitch/Makefile

index 1ce0437d306df6feac493d679d065872a5f71f5d..7960eb4c4fc479615ca62909e49af87bed9c1c46 100644 (file)
@@ -360,6 +360,9 @@ define Package/freeswitch/Default
   URL:=https://www.freeswitch.org
 endef
 
+# Note: shadow deps are a bit strange; you need to select shadow-utils
+# package first for shadow-su to be selected, even though the
+# shadow-utils package later becomes a no-op.
 define Package/freeswitch
 $(call Package/freeswitch/Default)
   TITLE:=Open source telephony platform, v$(PKG_VERSION)
@@ -368,6 +371,7 @@ $(call Package/freeswitch/Default)
   DEPENDS:= \
          $(CXX_DEPENDS) \
          $(ICONV_DEPENDS) \
+         +!BUSYBOX_DEFAULT_SU:shadow-utils \
          +!BUSYBOX_DEFAULT_SU:shadow-su \
          +@OPENSSL_WITH_DEPRECATED \
          +FS_WITH_FREETYPE:libfreetype \