summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-02-14 18:27:16 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-02-14 18:27:16 +0100
commitf7a5886fa9fe4cbd52d8f17df785ac8e4d0b80df (patch)
tree5a0ed4b8340f36c73d7a163a4af5fa1fe8d0e5c2
parent2b89cd1771bde5b5c6d88df4090169fc893fa26d (diff)
Rebuild gimp-gap for lib32.
-rw-r--r--extra/gimp-gap/PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/extra/gimp-gap/PKGBUILD b/extra/gimp-gap/PKGBUILD
index 41f576c52..4e1226000 100644
--- a/extra/gimp-gap/PKGBUILD
+++ b/extra/gimp-gap/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=gimp-gap
pkgver=2.6.0
-pkgrel=3
+pkgrel=3.1
pkgdesc="A Plug-In collection to edit and create animations for the Gimp"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
@@ -17,7 +17,8 @@ md5sums=('249ed829de8b78675c0fe4ef4212089f')
build() {
cd "$srcdir/$pkgname-$pkgver"
- [ "$CARCH" = "x86_64" ] && CFLAGS+="-fPIC"
+ [ "$CARCH" != "i686" ] && CFLAGS+=" -fPIC"
+ sed -ri 's/^gap_(plugins|morph)_LDADD .+$/& -lm/' gap/Makefile.in
./configure --prefix=/usr
make
}