aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-04-19 12:41:59 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-04-19 12:49:33 +0000
commit8faf84c05e025db7c77bc46a3075f95d445c8537 (patch)
treecbdb007461e3ffacf9ac7b4ff9a87b8f1699ad24
parent4e8b12d3f6298deff7893b9e13673058d029eb62 (diff)
downloadaports-8faf84c05e025db7c77bc46a3075f95d445c8537.tar.bz2
aports-8faf84c05e025db7c77bc46a3075f95d445c8537.tar.xz
testing/flite: build shared lib
Try force -fPIC
-rw-r--r--testing/flite/APKBUILD8
1 files changed, 3 insertions, 5 deletions
diff --git a/testing/flite/APKBUILD b/testing/flite/APKBUILD
index 309fc4d67d..dad4703025 100644
--- a/testing/flite/APKBUILD
+++ b/testing/flite/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=flite
pkgver=1.4
-pkgrel=0
+pkgrel=1
pkgdesc="Small, fast speech synthesis engine (text-to-speech)"
url="http://www.speech.cs.cmu.edu/flite/"
arch="all"
@@ -27,10 +27,8 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
+ CFLAGS="$CFLAGS -fPIC" ./configure --prefix=/usr \
+ --enable-shared \
--localstatedir=/var \
|| return 1
# work around parallel build issue