Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=386fa8113978bb6c8026932225ac7b3e319b97ae

commit 386fa8113978bb6c8026932225ac7b3e319b97ae
Author: crazy <[EMAIL PROTECTED]>
Date:   Mon May 19 18:41:10 2008 +0200

sbcl-1.0.16-1-x86_64
* Version bump
* re-added contrib/*
* added cflags.patch
* added an hack to be able to compile all cotrib/* in chroot too
* Ok @vmiklos

diff --git a/source/devel-extra/sbcl/FrugalBuild 
b/source/devel-extra/sbcl/FrugalBuild
index 3a17636..76eb05f 100644
--- a/source/devel-extra/sbcl/FrugalBuild
+++ b/source/devel-extra/sbcl/FrugalBuild
@@ -2,19 +2,20 @@
# Maintainer: VMiklos <[EMAIL PROTECTED]>

pkgname=sbcl
-pkgver=1.0.15
+pkgver=1.0.16
pkgrel=1
pkgdesc="Steel Bank Common Lisp"
-url="http://sbcl.sourceforge.net/";
depends=('glibc')
makedepends=('sbcl')
groups=('devel-extra')
archs=('i686' 'x86_64')
_F_sourceforge_ext="-source.tar.bz2"
Finclude sourceforge
-source=($source no_local_lib_please.patch)
-sha1sums=('4d3357f56e6f600cae0ac3f78111fccd5aeb7473' \
-          '29df2f80163179eb2c38d22836e9ed8c0778bfd2')
+url="http://sbcl.sourceforge.net/";
+source=($source no_local_lib_please.patch cflags.patch)
+sha1sums=('81b05d25b2478e2bdee5d2885d2318612d09b6fd' \
+          '29df2f80163179eb2c38d22836e9ed8c0778bfd2' \
+          'd41025710da5f3d9fc9a93dd83c8f998142f4482')

build()
{
@@ -23,15 +24,18 @@ build()
find . -name "CVS" | xargs rm -rf
find . -name "*cvsignore"  | xargs rm -rf
export INSTALL_ROOT=$Fdestdir/usr
+       ## NOTE: for these tests to run you need a working inet connection
+       ## and inetd up and running. This will fail in chroot so we disable 
these
+       ## to be able to compile the package.
+       ## PLEASE comment the following 2 lines when bumping this package
+       ## and bump on HOST first , if everything is fine uncomment and build in
+       ## chroot. - crazy -
+       echo > contrib/sb-bsd-sockets/tests.lisp
+       echo > contrib/sb-simple-streams/simple-stream-tests.lisp
+       Fsed '; :sb-thread' ':sb-thread' base-target-features.lisp-expr
Fmkdir /usr/share/man/man1
-       Fsed '\(CFLAGS =\)  -g -Wall -O3' "\1 $CFLAGS" src/runtime/GNUmakefile
-       # remove broken modules
-       rm -rf contrib/{sb-bsd-sockets,sb-simple-streams,asdf-install}
-
-       sh make.sh || Fdie
-
-       unset SBCL_HOME
-       sh install.sh
+       sh -x make.sh || Fdie
+       sh -x install.sh || Fdie
Fmv /usr/share/doc/$pkgname /usr/share/doc/$pkgname-$pkgver
}

diff --git a/source/devel-extra/sbcl/cflags.patch 
b/source/devel-extra/sbcl/cflags.patch
new file mode 100644
index 0000000..6fb246b
--- /dev/null
+++ b/source/devel-extra/sbcl/cflags.patch
@@ -0,0 +1,14 @@
+diff -Naur sbcl-1.0.16/src/runtime/GNUmakefile 
sbcl-1.0.16-p/src/runtime/GNUmakefile
+--- sbcl-1.0.16/src/runtime/GNUmakefile        2008-02-19 11:18:07.000000000 
+0100
++++ sbcl-1.0.16-p/src/runtime/GNUmakefile      2008-05-19 15:40:58.000000000 
+0200
+@@ -23,7 +23,9 @@
+ DEPEND_FLAGS = -MM
+ GREP = grep
+
+-CFLAGS = -g -Wall -Wsign-compare -O3
++CFLAGS ?= -g -Wall
++CFLAGS += -Wsign-compare
++CFLAGS += -DSBCL_HOME=\"/usr/lib/sbcl\"
+ ASFLAGS = $(CFLAGS)
+ CPPFLAGS = -I.
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to