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 b447bee50..949654ffa 100644
--- a/extra/netpbm/PKGBUILD
+++ b/extra/netpbm/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=netpbm
pkgver=10.57.1
pkgrel=1
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')
@@ -33,7 +33,7 @@ build() {
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