summaryrefslogtreecommitdiff
path: root/extra/netpbm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/netpbm/PKGBUILD')
-rw-r--r--extra/netpbm/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/extra/netpbm/PKGBUILD b/extra/netpbm/PKGBUILD
index 6b92f5ef5..43ea70fd4 100644
--- a/extra/netpbm/PKGBUILD
+++ b/extra/netpbm/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=netpbm
pkgver=10.47.24
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' 'libjpeg' 'libpng' 'libtiff' 'libxml2')
@@ -37,6 +37,7 @@ build() {
cp config.mk.in config.mk
[ "${CARCH}" = 'x86_64' ] && echo 'CFLAGS_SHLIB = -fPIC' >> config.mk
+ [ "${CARCH}" = 'mips64el' ] && 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