summaryrefslogtreecommitdiff
path: root/extra/a2ps/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/a2ps/PKGBUILD')
-rw-r--r--extra/a2ps/PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/extra/a2ps/PKGBUILD b/extra/a2ps/PKGBUILD
index ae316078b..fd0323114 100644
--- a/extra/a2ps/PKGBUILD
+++ b/extra/a2ps/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=a2ps
pkgver=4.14
pkgrel=2
pkgdesc="An Any to PostScript filter"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/a2ps/"
license=('GPL3')
depends=('ghostscript' 'psutils' 'imagemagick' 'perl')
@@ -36,6 +36,8 @@ build() {
patch -p1 < ../a2ps-4.13-manpage-chmod.patch
patch -p1 < ../a2ps-4.14-check-mempcpy.patch
patch -p0 < ../a2ps-4.14-fix-stpcpy-proto.patch
+ sed -i '/AM_C_PROTOTYPES/d' configure.in
+ sed -i '/ansi2knr/d' Makefile.am {src,lib,contrib/sample}/Makefile.am
libtoolize --force --copy
autoreconf -I m4
./configure --prefix=/usr --sysconfdir=/etc/a2ps \