From 8faf84c05e025db7c77bc46a3075f95d445c8537 Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Tue, 19 Apr 2011 12:41:59 +0000
Subject: testing/flite: build shared lib

Try force -fPIC
---
 testing/flite/APKBUILD | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/testing/flite/APKBUILD b/testing/flite/APKBUILD
index 309fc4d67..dad470302 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
-- 
cgit v1.2.3