diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-02-15 11:13:04 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-02-15 11:13:04 -0300 |
commit | eddd84528e605047a994ee8d652ba99686a412fc (patch) | |
tree | 899e16d10c3271aeb21a8ffc846803bd97f8ec26 /extra/gimp-gap/PKGBUILD | |
parent | 45ccb67ff4bb8f6e6886dd01f4cf3edaa7954585 (diff) | |
parent | 5db9045af8870daff1761cbdc00a1b392ec04e0d (diff) |
Merge branch 'master' of ssh://gparabola/abslibre-mips64el
Diffstat (limited to 'extra/gimp-gap/PKGBUILD')
-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 } |