summaryrefslogtreecommitdiff
path: root/extra/libffado
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-15 11:23:47 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-15 11:23:47 -0300
commit636e44073697c57edd1c85b23247081a749d6194 (patch)
treec101ec1eaa52f4ea36786b2b1443b3dfaffa6bd6 /extra/libffado
parentb42740782a6ba6edf608b5f066c97430394947b8 (diff)
libffado complains about missing PIC
Diffstat (limited to 'extra/libffado')
-rw-r--r--extra/libffado/PKGBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/extra/libffado/PKGBUILD b/extra/libffado/PKGBUILD
index 6debee252..5db7a3de8 100644
--- a/extra/libffado/PKGBUILD
+++ b/extra/libffado/PKGBUILD
@@ -12,9 +12,12 @@ url="http://www.ffado.org/"
license=('GPL')
depends=('libiec61883' 'libavc1394' 'libsigc++'
'libxml++' 'alsa-lib' 'dbus')
+[ "$CARCH" = "mips64el" ] || {
makedepends=('scons' 'python2-qt')
optdepends=('python2-qt: mixer applet')
-provides=('ffado')
+}
+[ "$CARCH" = "mips64el" ] && \
+makedepends=('scons')
source=(http://www.ffado.org/files/$pkgname-$pkgver.tar.gz)
md5sums=('786f31facd417e6207e429f50af0e15e')
@@ -26,6 +29,8 @@ build() {
if [ "$CARCH" = "x86_64" ]; then
sed -i "s/-m64/-m64 $CFLAGS/g" SConstruct
+ elif [ "$CARCH" = "mips64el" ]; then
+ sed -i "s/-mn32/-mn32 $CFLAGS/g" SConstruct
else
sed -i "s/-m32/-m32 $CFLAGS/g" SConstruct
fi