Skip to content

Commit

Permalink
addpatch: fricas 1.3.11-1
Browse files Browse the repository at this point in the history
Signed-off-by: 秋雨落 <[email protected]>
  • Loading branch information
qyl27 authored and felixonmars committed Oct 8, 2024
1 parent 1701d02 commit 73255a3
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions fricas/riscv64.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
--- PKGBUILD
+++ PKGBUILD
@@ -14,7 +14,7 @@ depends=(gawk
libxpm
sh
zstd)
-makedepends=(sbcl
+makedepends=(clisp
texlive-basic)
options=(!strip)
source=(https://github.com/fricas/fricas/releases/download/$pkgver/fricas-$pkgver-full.tar.bz2)
@@ -27,13 +27,16 @@ prepare() {
sed -e "s|^LDF=.*|LDF=$LDFLAGS|" -i $pkgname-$pkgver/configure -i $pkgname-$pkgver/config/var-def.mk
sed -e "s|^FRICAS_X11_LDFLAGS = |FRICAS_X11_LDFLAGS = $LDFLAGS |" -i $pkgname-$pkgver/config/var-def.mk
sed -e "s|\$(fricas_c_runtime_extra)| \$(fricas_c_runtime_extra) \$(LDF)|g" -i $pkgname-$pkgver/src/lib/Makefile.in
+
+ cd $pkgname-$pkgver
+ autoreconf -fi
}

build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
- --with-lisp='sbcl --control-stack-size 512 --dynamic-space-size 6000'
+ --with-lisp='clisp'
make
}

0 comments on commit 73255a3

Please sign in to comment.