From: Jo-Philipp Wich Date: Fri, 13 Dec 2013 11:45:16 +0000 (+0000) Subject: freeswitch: don't select packages from Config.in, this causes stuff to end up in... X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=25a10d6c6dbd7187ef3b358e46a81a758f0fd732;p=feed%2Ftelephony.git freeswitch: don't select packages from Config.in, this causes stuff to end up in rootfs even if freeswitch is built as package only --- diff --git a/net/freeswitch/Config.in b/net/freeswitch/Config.in index e8c114f..4e6c0bf 100644 --- a/net/freeswitch/Config.in +++ b/net/freeswitch/Config.in @@ -39,19 +39,16 @@ choice config FS_WITH_MYSQL bool "MySQL" - select PACKAGE_libmysqlclient help Compile libs/apr-util with MySQL support. config FS_WITH_POSTGRESQL bool "PostgreSQL" - select PACKAGE_libpq help Compile libs/apr-util with PostgreSQL support. config FS_WITH_SQLITE3 bool "SQLITE3" - select PACKAGE_libsqlite3 help Compile libs/apr-util with SQLITE3 support. @@ -84,7 +81,6 @@ config FS_WITH_IPV6 config FS_WITH_LZMA bool "Enable liblzma usage in libtiff" default y - select PACKAGE_liblzma help Compile libs/tiff package with liblzma support. This option requires LZMA2 compression package called liblzma. @@ -114,7 +110,6 @@ config FS_WITH_OPT config FS_WITH_SCTP bool "Enable SCTP (Stream Control Transfer Protocol) support in APR" default y - select PACKAGE_sctp help Compile $(PKG_NAME) with SCTP support in lib APR. diff --git a/net/freeswitch/Makefile b/net/freeswitch/Makefile index 88ee032..05705e4 100644 --- a/net/freeswitch/Makefile +++ b/net/freeswitch/Makefile @@ -31,6 +31,12 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_FIXUP:=libtool autoreconf PKG_BUILD_PARALLEL:=1 +PKG_BUILD_DEPENDS:= \ + FS_WITH_MYSQL:libmysqlclient \ + FS_WITH_POSTGRESQL:libpq \ + FS_WITH_SQLITE3:libsqlite3 \ + FS_WITH_LZMA:liblzma \ + FS_WITH_SCTP:sctp TAR_OPTIONS+= --strip-components=1 -C $(PKG_BUILD_DIR)