summaryrefslogtreecommitdiff
path: root/extra/recode/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/recode/PKGBUILD')
-rw-r--r--extra/recode/PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/extra/recode/PKGBUILD b/extra/recode/PKGBUILD
index ffa636c60..4dd53dbb7 100644
--- a/extra/recode/PKGBUILD
+++ b/extra/recode/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=recode
pkgver=3.6
pkgrel=7
pkgdesc="Converts files between various character sets and usages"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://recode.progiciels-bpi.ca/index.html"
license=('GPL' 'LGPL')
depends=('glibc' 'texinfo')
@@ -27,6 +27,9 @@ build() {
patch -Np1 -i ${srcdir}/recode_3.6-15.diff
sed -i '1i#include <stdlib.h>' src/argmatch.c
rm -f acinclude.m4
+ # "automatic de-ANSI-fication support has been removed"
+ sed -i '/AM_C_PROTOTYPES/d' configure.in
+ sed -i 's/ ansi2knr//' src/Makefile.am
autoreconf -fi
libtoolize
./configure --prefix=/usr --mandir=/usr/share/man \