diff options
Diffstat (limited to 'extra/gimp-gap')
-rw-r--r-- | extra/gimp-gap/PKGBUILD | 5 |
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 } |