Commit 67ae76c6 authored by Natanael Copa's avatar Natanael Copa Committed by Ted Trask
Browse files

main/kamailio: build fix

depend on ncurses, disable parallel builds
(cherry picked from commit cfb25aae)
parent 2ce07b13
......@@ -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 \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment