summaryrefslogtreecommitdiff
path: root/extra/clisp
diff options
context:
space:
mode:
Diffstat (limited to 'extra/clisp')
-rw-r--r--extra/clisp/PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/extra/clisp/PKGBUILD b/extra/clisp/PKGBUILD
index a6451270c..4738a52c6 100644
--- a/extra/clisp/PKGBUILD
+++ b/extra/clisp/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=clisp
pkgver=2.49
pkgrel=1
pkgdesc="ANSI Common Lisp interpreter, compiler and debugger"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://clisp.cons.org/"
depends=('readline' 'libsigsegv')
@@ -20,8 +20,10 @@ build() {
./configure --prefix=/usr --with-readline --with-ffcall src
cd src
./makemake --prefix=/usr --with-readline --with-ffcall --with-dynamic-ffi > Makefile
+ # Dirty hack for using arimips64 instead of arimips.c
+ [ $CARCH = "mips64el" ] && ln -s arimips64.c arimips.c
make || return 1
sed -i 's,http://www.lisp.org/HyperSpec/,http://www.lispworks.com/reference/HyperSpec/,g' config.lisp
make || return 1
make DESTDIR=$pkgdir install || return 1
-}
+} \ No newline at end of file