aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-08-20 08:08:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-08-20 08:08:39 +0000
commitcfb25aaed7b2b1ff5dba6ca3d869a45cd1940700 (patch)
treef040f4a4b596cbea8a340e5bda40693367cfbc08
parentebc67e088a7a71beea41bb204ef43604d17e7d90 (diff)
downloadaports-cfb25aaed7b2b1ff5dba6ca3d869a45cd1940700.tar.bz2
aports-cfb25aaed7b2b1ff5dba6ca3d869a45cd1940700.tar.xz
main/kamailio: build fix
depend on ncurses, disable parallel builds
-rw-r--r--main/kamailio/APKBUILD16
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 \