mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/sbcl to 1.3.15-1
This commit is contained in:
parent
242a2c937c
commit
6a3fbc4c87
1 changed files with 8 additions and 5 deletions
|
@ -10,7 +10,7 @@
|
|||
buildarch=4
|
||||
|
||||
pkgname=sbcl
|
||||
pkgver=1.3.12
|
||||
pkgver=1.3.15
|
||||
pkgrel=1
|
||||
pkgdesc="Steel Bank Common Lisp"
|
||||
url="http://www.sbcl.org/"
|
||||
|
@ -21,13 +21,12 @@ provides=('common-lisp' 'cl-asdf')
|
|||
makedepends=('sbcl')
|
||||
source=("https://downloads.sourceforge.net/project/sbcl/sbcl/$pkgver/$pkgname-$pkgver-source.tar.bz2"
|
||||
"arch-fixes.lisp")
|
||||
sha256sums=('8039ec01d04baad3ee3ebee7a830757dc488be33ca128f4a0592f8af701759c2'
|
||||
sha256sums=('b1b532d9df81b6a014dd6463f9129cd9470ba84db0952496970ac5b1e745ab85'
|
||||
'b5a6468dcbc1012cae2c3cda155762a37b6d96ef89bba4f723315063b0b5e7ce')
|
||||
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
|
||||
export CFLAGS+=" -D_GNU_SOURCE -fno-omit-frame-pointer -DSBCL_HOME=/usr/lib/sbcl"
|
||||
export GNUMAKE="make"
|
||||
|
||||
|
@ -35,7 +34,11 @@ build() {
|
|||
export LINKFLAGS="$LDFLAGS"
|
||||
unset LDFLAGS
|
||||
unset MAKEFLAGS
|
||||
|
||||
if [[ ${CARCH} = x86_64 ]]; then
|
||||
enable_disable_largefile=enable
|
||||
else
|
||||
enable_disable_largefile=disable
|
||||
fi
|
||||
# Make a multi-threaded SBCL, disable LARGEFILE
|
||||
cat >customize-target-features.lisp <<EOF
|
||||
(lambda (features)
|
||||
|
@ -43,7 +46,7 @@ build() {
|
|||
(disable (x) (setf features (remove x features))))
|
||||
(disable :sb-thread)
|
||||
(enable :sb-core-compression)
|
||||
(disable :largefile)))
|
||||
(${enable_disable_largefile} :largefile)))
|
||||
EOF
|
||||
|
||||
sh make.sh sbcl --prefix=/usr
|
||||
|
|
Loading…
Reference in a new issue