From 207b7c7b0d7bc0db898a2386a665bdb20495fb19 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 11 May 2013 01:48:19 -0700 Subject: Sat May 11 01:48:09 PDT 2013 --- extra/sbcl/PKGBUILD | 40 ++++++++++++++++++++++++++++++---------- 1 file changed, 30 insertions(+), 10 deletions(-) (limited to 'extra/sbcl/PKGBUILD') diff --git a/extra/sbcl/PKGBUILD b/extra/sbcl/PKGBUILD index 752376596..adbbb6f91 100644 --- a/extra/sbcl/PKGBUILD +++ b/extra/sbcl/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 178213 2013-02-18 09:01:22Z juergen $ +# $Id: PKGBUILD 185032 2013-05-10 12:58:50Z juergen $ # Contributor: John Proctor # Contributor: Daniel White # Maintainer: Juergen Hoetzel # Contributor: Leslie Polzer (skypher) pkgname=sbcl -pkgver=1.1.4 +pkgver=1.1.7 pkgrel=1 pkgdesc="Steel Bank Common Lisp" url="http://www.sbcl.org/" @@ -13,18 +13,37 @@ arch=('i686' 'x86_64') license=('custom') depends=('glibc' 'zlib') provides=('common-lisp' 'cl-asdf') -makedepends=('sbcl' 'texinfo') +makedepends=('sbcl') install=sbcl.install source=("http://downloads.sourceforge.net/project/sbcl/sbcl/$pkgver/$pkgname-$pkgver-source.tar.bz2" - "arch-fixes.lisp") -md5sums=('9d82ec89abbaf265fbfc71a24445dd66' - '7ac0c1936547f4278198b8bf7725204d') + "arch-fixes.lisp" + "ftp://ftp.gnu.org/pub/gnu/texinfo/texinfo-4.13a.tar.gz" + "texinfo-4.13a-data_types.patch") +md5sums=('ca3dd0ce2943e10a1c86ff5f40db3f85' + '7ac0c1936547f4278198b8bf7725204d' + '71ba711519209b5fb583fed2b3d86fcb' + 'd8574782ff7def1e2dc5c291dbeaec18') + + +# Temporary Texinfo legacy build +# See: http://sourceforge.net/mailarchive/message.php?msg_id=30747919 + +build-texinfo-legacy() { + cd ${srcdir}/texinfo-4.13 + patch -Np1 -i $srcdir/texinfo-4.13a-data_types.patch + mkdir -p $srcdir/texinfo-instroot + ./configure --prefix=$srcdir/texinfo-instroot + make install +} build() { + build-texinfo-legacy + export PATH=$srcdir/texinfo-instroot/bin:$PATH + cd "$srcdir/$pkgname-$pkgver" - export CFLAGS+=" -D_GNU_SOURCE -DSBCL_HOME=\\\"/usr/lib/sbcl\\\"" - export GNUMAKE="make -e" + export CFLAGS+=" -D_GNU_SOURCE -fno-omit-frame-pointer -DSBCL_HOME=/usr/lib/sbcl" + export GNUMAKE="make" # build system uses LINKFLAGS and OS_LIBS to build LDFLAGS export LINKFLAGS="$LDFLAGS" @@ -40,14 +59,15 @@ build() { (disable :largefile))) EOF - sh make.sh sbcl + sh make.sh sbcl --prefix=/usr make -C doc/manual info } package() { cd "$srcdir/$pkgname-$pkgver" - INSTALL_ROOT="$pkgdir/usr" sh install.sh + # cannot have both SBCL_HOME and INSTALL_ROOT + SBCL_HOME="" INSTALL_ROOT="$pkgdir/usr" sh install.sh src/runtime/sbcl --core output/sbcl.core --script "${srcdir}/arch-fixes.lisp" mv sbcl-new.core "${pkgdir}/usr/lib/sbcl/sbcl.core" -- cgit v1.2.3-54-g00ecf