summaryrefslogtreecommitdiff
path: root/extra/netpbm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/netpbm/PKGBUILD')
-rw-r--r--extra/netpbm/PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/netpbm/PKGBUILD b/extra/netpbm/PKGBUILD
index de721c4a7..3b8897594 100644
--- a/extra/netpbm/PKGBUILD
+++ b/extra/netpbm/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=netpbm
pkgver=10.61.02
pkgrel=2
pkgdesc="A toolkit for manipulation of graphic images"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom' 'BSD' 'GPL' 'LGPL')
url="http://netpbm.sourceforge.net/"
depends=('perl' 'libpng' 'libtiff' 'libxml2')
@@ -43,7 +43,7 @@ prepare() {
sed -i 's|@python|@python2|' buildtools/manpage.mk
cp config.mk.in config.mk
- [ "${CARCH}" = 'x86_64' ] && echo 'CFLAGS_SHLIB = -fPIC' >> config.mk
+ [ "${CARCH}" != 'i686' ] && echo 'CFLAGS_SHLIB = -fPIC' >> config.mk
echo "NETPBM_DOCURL = file://${srcdir}/doc" >> config.mk
echo 'TIFFLIB = libtiff.so' >> config.mk
echo 'JPEGLIB = libjpeg.so' >> config.mk