diff options
-rw-r--r-- | main/kamailio/APKBUILD | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/main/kamailio/APKBUILD b/main/kamailio/APKBUILD index c08826bb6e..f1085a81fc 100644 --- a/main/kamailio/APKBUILD +++ b/main/kamailio/APKBUILD @@ -10,7 +10,7 @@ pkggroups="kamailio" license="GPL" depends= makedepends="bison flex expat-dev postgresql-dev pcre-dev mysql-dev - libxml2-dev curl-dev unixodbc-dev confuse-dev" + libxml2-dev curl-dev unixodbc-dev confuse-dev ncurses-dev" install="$pkgname.pre-install $pkgname.pre-upgrade" subpackages="$pkgname-doc $pkgname-postgres $pkgname-presence $pkgname-pcre $pkgname-mediaproxy $pkgname-unixodbc $pkgname-mysql" @@ -62,17 +62,7 @@ prepare() { build() { cd "$_builddir" - # workaround parallel build issue - make LOCALBASE=/usr \ - cfg_target=/etc/kamailio/ \ - MODS_MYSQL=yes \ - MODS_PCRE=yes \ - MODS_RADIUS= \ - TLS= \ - include_modules="$_modules" \ - -C lib/kcore strcommon.o || return 1 - - make LOCALBASE=/usr \ + make -j1 LOCALBASE=/usr \ cfg_target=/etc/kamailio/ \ MODS_MYSQL=yes \ MODS_PCRE=yes \ @@ -84,7 +74,7 @@ build() { package() { cd "$_builddir" - make LOCALBASE=/usr \ + make -j1 LOCALBASE=/usr \ cfg_target=/etc/kamailio/ \ MODS_MYSQL=yes \ MODS_PCRE=yes \ |