diff --git a/net/freeswitch/Makefile b/net/freeswitch/Makefile index 1ce0437..7960eb4 100644 --- a/net/freeswitch/Makefile +++ b/net/freeswitch/Makefile @@ -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 \ diff --git a/net/freeswitch/patches/400-fix-pc-file.patch b/net/freeswitch/patches/400-fix-pc-file.patch new file mode 100644 index 0000000..d0ba2e2 --- /dev/null +++ b/net/freeswitch/patches/400-fix-pc-file.patch @@ -0,0 +1,13 @@ +--- a/build/freeswitch.pc.in ++++ b/build/freeswitch.pc.in +@@ -1,8 +1,8 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ ++libdir=${exec_prefix}/lib + libexecdir=@libexecdir@ +-includedir=@includedir@ ++includedir=${prefix}/include/freeswitch + modulesdir=@modulesdir@ + runtimedir=@runtimedir@ + logfiledir=@logfiledir@