Date: Friday, May 10, 2013 @ 12:52:52 Author: juergen Revision: 185022
use embedded texinfo-legacy to build docs Modified: sbcl/trunk/PKGBUILD ----------+ PKGBUILD | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-05-10 10:31:37 UTC (rev 185021) +++ PKGBUILD 2013-05-10 10:52:52 UTC (rev 185022) @@ -13,14 +13,33 @@ license=('custom') depends=('glibc' 'zlib') provides=('common-lisp' 'cl-asdf') -makedepends=('sbcl' 'texinfo-legacy') +makedepends=('sbcl') install=sbcl.install source=("http://downloads.sourceforge.net/project/sbcl/sbcl/$pkgver/$pkgname-$pkgver-source.tar.bz2" - "arch-fixes.lisp") + "arch-fixes.lisp" + "ftp://ftp.gnu.org/pub/gnu/texinfo/texinfo-4.13a.tar.gz" + "texinfo-4.13a-data_types.patch") md5sums=('ca3dd0ce2943e10a1c86ff5f40db3f85' - '7ac0c1936547f4278198b8bf7725204d') + '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 -fno-omit-frame-pointer -DSBCL_HOME=\\\"/usr/lib/sbcl\\\""