Date: Sunday, March 12, 2017 @ 12:27:36
  Author: juergen
Revision: 290668

update to sbcl 1.3.15, fix #53204 (x86_64 only)

Modified:
  sbcl/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-03-12 12:25:53 UTC (rev 290667)
+++ PKGBUILD    2017-03-12 12:27:36 UTC (rev 290668)
@@ -5,7 +5,7 @@
 # Contributor: Leslie Polzer (skypher)
 
 pkgname=sbcl
-pkgver=1.3.12
+pkgver=1.3.15
 pkgrel=1
 pkgdesc="Steel Bank Common Lisp"
 url="http://www.sbcl.org/";
@@ -16,13 +16,12 @@
 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"
 
@@ -30,7 +29,11 @@
   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)
@@ -38,7 +41,7 @@
          (disable (x) (setf features (remove x features))))
   (enable :sb-thread)
   (enable :sb-core-compression)
-  (disable :largefile)))
+  (${enable_disable_largefile} :largefile)))
 EOF
 
   sh make.sh sbcl --prefix=/usr

Reply via email to