aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-06-25 07:52:02 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-06-25 07:52:02 +0000
commitec60b556394451b4e3b6c1d4cd1db648f647dd53 (patch)
treea900ca0c4dcf1d748f88f664eac07f856781b075
parentdba131f50942f79ad545d81e99d9e2547e8529f7 (diff)
downloadaports-ec60b556394451b4e3b6c1d4cd1db648f647dd53.tar.bz2
aports-ec60b556394451b4e3b6c1d4cd1db648f647dd53.tar.xz
main/freeswitch: build fix for parallel builds
we need disable parallel build for mod_flite
-rw-r--r--main/freeswitch/APKBUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/freeswitch/APKBUILD b/main/freeswitch/APKBUILD
index 8843b8ce5..56aed8ea7 100644
--- a/main/freeswitch/APKBUILD
+++ b/main/freeswitch/APKBUILD
@@ -36,6 +36,12 @@ build() {
--with-devrandom=/dev/urandom \
|| return 1
+ # flite does not work with parallel builds
+ # first build libfreeswitch (in parallel)
+ make libfreeswitch.la || return 1
+ # then we build mod_flite, disabling parallel builds
+ ( cd src/mod/asr_tts/mod_flite && make -j1 ) || return 1
+ # finally we build the rest
make all || return 1
}
package(){