diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2007-01-18 04:09:58 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2007-01-18 04:09:58 +0000 |
commit | 6f97f62dbd56be20766358af52e07ae7c5569ca5 (patch) | |
tree | 5477e200c91080e16ff6c258806f3c83fe9c65ed | |
parent | Temporary fix for bug #158407 by Peter Hjalmarsson. (diff) | |
download | gentoo-2-6f97f62dbd56be20766358af52e07ae7c5569ca5.tar.gz gentoo-2-6f97f62dbd56be20766358af52e07ae7c5569ca5.tar.bz2 gentoo-2-6f97f62dbd56be20766358af52e07ae7c5569ca5.zip |
New upstream version.
(Portage version: 2.1.2)
-rw-r--r-- | dev-lisp/sbcl/ChangeLog | 9 | ||||
-rw-r--r-- | dev-lisp/sbcl/files/digest-sbcl-0.9.3 | 8 | ||||
-rw-r--r-- | dev-lisp/sbcl/files/digest-sbcl-0.9.4 | 8 | ||||
-rw-r--r-- | dev-lisp/sbcl/files/digest-sbcl-1.0.1 | 21 | ||||
-rw-r--r-- | dev-lisp/sbcl/sbcl-1.0.1.ebuild | 182 |
5 files changed, 226 insertions, 2 deletions
diff --git a/dev-lisp/sbcl/ChangeLog b/dev-lisp/sbcl/ChangeLog index a8f2b8cb70c4..ab87b744d6e8 100644 --- a/dev-lisp/sbcl/ChangeLog +++ b/dev-lisp/sbcl/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lisp/sbcl -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.98 2006/12/19 18:20:37 mkennedy Exp $ +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.99 2007/01/18 04:09:58 mkennedy Exp $ + +*sbcl-1.0.1 (18 Jan 2007) + + 18 Jan 2007; <mkennedy@gentoo.org> +sbcl-1.0.1.ebuild: + New upstream version. 19 Dec 2006; Matthew Kennedy <mkennedy@gentoo.org> sbcl-1.0.ebuild: Remove dependency on dev-lisp/cl-asdf. diff --git a/dev-lisp/sbcl/files/digest-sbcl-0.9.3 b/dev-lisp/sbcl/files/digest-sbcl-0.9.3 index 6ffd82fa41d9..7f6966132bd8 100644 --- a/dev-lisp/sbcl/files/digest-sbcl-0.9.3 +++ b/dev-lisp/sbcl/files/digest-sbcl-0.9.3 @@ -2,6 +2,8 @@ MD5 29ad145f1fc45c65b8d65b39013bc43f sbcl-0.7.10-mips-linux-binary.tar.gz 747387 RMD160 d9c34e109dd307bfe652ef57d5837c83cbc60055 sbcl-0.7.10-mips-linux-binary.tar.gz 7473873 SHA256 90bff80973c3e295b5ecdd0b59525583ae04cb2d5967378af65e04ac77fad660 sbcl-0.7.10-mips-linux-binary.tar.gz 7473873 MD5 6c193e328cdb472787ef78401ee5294c sbcl-0.8.1-x86-linux-binary.tar.bz2 6348098 +RMD160 f63fa430a6164a29a753ba250ae40ca4ffa1246d sbcl-0.8.1-x86-linux-binary.tar.bz2 6348098 +SHA256 1dd70d834adccbb4b11226429863e53f668ad689aab0df0ee54fd96a682b5ba1 sbcl-0.8.1-x86-linux-binary.tar.bz2 6348098 MD5 3a72d0785ce0a8e02f9af632c2a4f217 sbcl-0.8.15-powerpc-linux-binary.tar.bz2 6656148 RMD160 0e73b6e96f0170d44be60dfde8bf580596d3a6ee sbcl-0.8.15-powerpc-linux-binary.tar.bz2 6656148 SHA256 fef30a771530096c4f190c60d9d7c396844fc67a3ec2bbaae9b0ff497f925129 sbcl-0.8.15-powerpc-linux-binary.tar.bz2 6656148 @@ -9,5 +11,11 @@ MD5 029b85186984d0bfc8b49c4de1e8e45e sbcl-0.8.15-sparc-linux-binary.tar.bz2 6903 RMD160 41015dcfb41caf93b54a02a0f55eec994309accf sbcl-0.8.15-sparc-linux-binary.tar.bz2 6903090 SHA256 f0bc5fc11e9c0f1651ebe773b5c7e972da589cc4af2811d25438a099f490cc7d sbcl-0.8.15-sparc-linux-binary.tar.bz2 6903090 MD5 beba4861dc8de0a2420c483f15a93c05 sbcl-0.8.19-x86-64-linux-binary.tar.bz2 7466117 +RMD160 24346843ef9896bec7e7fbd013db8edaf77c414a sbcl-0.8.19-x86-64-linux-binary.tar.bz2 7466117 +SHA256 65a457c1bc33775f629dff39a72eac68dd07815b8786cbedfbe02e9bae56479d sbcl-0.8.19-x86-64-linux-binary.tar.bz2 7466117 MD5 458ad42279c59159f7482de048890e72 sbcl-0.9.3-html.tar.bz2 113165 +RMD160 13a5990c18f3d38b99211317083298860a8ffce8 sbcl-0.9.3-html.tar.bz2 113165 +SHA256 70ed9dfb0812f68181db16afa05ece10c249fb522d2a945e684fe289fa032ee9 sbcl-0.9.3-html.tar.bz2 113165 MD5 b6848cde3a7b26a2a82bc63b05ac58a5 sbcl-0.9.3-source.tar.bz2 2582754 +RMD160 ba1b0dad70328593331b1b1e1f50af41ed4eb3e1 sbcl-0.9.3-source.tar.bz2 2582754 +SHA256 afb428f2250bcc83111c673a46c9916e7062c263c6d1077c9498830412f650d3 sbcl-0.9.3-source.tar.bz2 2582754 diff --git a/dev-lisp/sbcl/files/digest-sbcl-0.9.4 b/dev-lisp/sbcl/files/digest-sbcl-0.9.4 index 72021037ce9a..75a59328b20a 100644 --- a/dev-lisp/sbcl/files/digest-sbcl-0.9.4 +++ b/dev-lisp/sbcl/files/digest-sbcl-0.9.4 @@ -2,6 +2,8 @@ MD5 29ad145f1fc45c65b8d65b39013bc43f sbcl-0.7.10-mips-linux-binary.tar.gz 747387 RMD160 d9c34e109dd307bfe652ef57d5837c83cbc60055 sbcl-0.7.10-mips-linux-binary.tar.gz 7473873 SHA256 90bff80973c3e295b5ecdd0b59525583ae04cb2d5967378af65e04ac77fad660 sbcl-0.7.10-mips-linux-binary.tar.gz 7473873 MD5 6c193e328cdb472787ef78401ee5294c sbcl-0.8.1-x86-linux-binary.tar.bz2 6348098 +RMD160 f63fa430a6164a29a753ba250ae40ca4ffa1246d sbcl-0.8.1-x86-linux-binary.tar.bz2 6348098 +SHA256 1dd70d834adccbb4b11226429863e53f668ad689aab0df0ee54fd96a682b5ba1 sbcl-0.8.1-x86-linux-binary.tar.bz2 6348098 MD5 3a72d0785ce0a8e02f9af632c2a4f217 sbcl-0.8.15-powerpc-linux-binary.tar.bz2 6656148 RMD160 0e73b6e96f0170d44be60dfde8bf580596d3a6ee sbcl-0.8.15-powerpc-linux-binary.tar.bz2 6656148 SHA256 fef30a771530096c4f190c60d9d7c396844fc67a3ec2bbaae9b0ff497f925129 sbcl-0.8.15-powerpc-linux-binary.tar.bz2 6656148 @@ -9,5 +11,11 @@ MD5 029b85186984d0bfc8b49c4de1e8e45e sbcl-0.8.15-sparc-linux-binary.tar.bz2 6903 RMD160 41015dcfb41caf93b54a02a0f55eec994309accf sbcl-0.8.15-sparc-linux-binary.tar.bz2 6903090 SHA256 f0bc5fc11e9c0f1651ebe773b5c7e972da589cc4af2811d25438a099f490cc7d sbcl-0.8.15-sparc-linux-binary.tar.bz2 6903090 MD5 beba4861dc8de0a2420c483f15a93c05 sbcl-0.8.19-x86-64-linux-binary.tar.bz2 7466117 +RMD160 24346843ef9896bec7e7fbd013db8edaf77c414a sbcl-0.8.19-x86-64-linux-binary.tar.bz2 7466117 +SHA256 65a457c1bc33775f629dff39a72eac68dd07815b8786cbedfbe02e9bae56479d sbcl-0.8.19-x86-64-linux-binary.tar.bz2 7466117 MD5 14d8bad2281caf37693ffe487a156b74 sbcl-0.9.4-html.tar.bz2 115151 +RMD160 0b1f8b53b16c36a7fdec3c2e950aeac1d019ad21 sbcl-0.9.4-html.tar.bz2 115151 +SHA256 16e2fe96ba8a6285fad2a864fa7f3e3273d9b0c476604042afb57de0526001d7 sbcl-0.9.4-html.tar.bz2 115151 MD5 a0420dc6236efece72c1c80ee15873c9 sbcl-0.9.4-source.tar.bz2 2607058 +RMD160 fb81388e80c4014d9a1e3715b73add598ac14d92 sbcl-0.9.4-source.tar.bz2 2607058 +SHA256 026590ad6d886e14543a5af3283363cbf62e464d361a5358843cebaaffbb7b0d sbcl-0.9.4-source.tar.bz2 2607058 diff --git a/dev-lisp/sbcl/files/digest-sbcl-1.0.1 b/dev-lisp/sbcl/files/digest-sbcl-1.0.1 new file mode 100644 index 000000000000..45848198b985 --- /dev/null +++ b/dev-lisp/sbcl/files/digest-sbcl-1.0.1 @@ -0,0 +1,21 @@ +MD5 29ad145f1fc45c65b8d65b39013bc43f sbcl-0.7.10-mips-linux-binary.tar.gz 7473873 +RMD160 d9c34e109dd307bfe652ef57d5837c83cbc60055 sbcl-0.7.10-mips-linux-binary.tar.gz 7473873 +SHA256 90bff80973c3e295b5ecdd0b59525583ae04cb2d5967378af65e04ac77fad660 sbcl-0.7.10-mips-linux-binary.tar.gz 7473873 +MD5 3a72d0785ce0a8e02f9af632c2a4f217 sbcl-0.8.15-powerpc-linux-binary.tar.bz2 6656148 +RMD160 0e73b6e96f0170d44be60dfde8bf580596d3a6ee sbcl-0.8.15-powerpc-linux-binary.tar.bz2 6656148 +SHA256 fef30a771530096c4f190c60d9d7c396844fc67a3ec2bbaae9b0ff497f925129 sbcl-0.8.15-powerpc-linux-binary.tar.bz2 6656148 +MD5 029b85186984d0bfc8b49c4de1e8e45e sbcl-0.8.15-sparc-linux-binary.tar.bz2 6903090 +RMD160 41015dcfb41caf93b54a02a0f55eec994309accf sbcl-0.8.15-sparc-linux-binary.tar.bz2 6903090 +SHA256 f0bc5fc11e9c0f1651ebe773b5c7e972da589cc4af2811d25438a099f490cc7d sbcl-0.8.15-sparc-linux-binary.tar.bz2 6903090 +MD5 46d67859cac0d3b748310a93311b308a sbcl-0.9.11a-powerpc-darwin-binary.tar.bz2 6766401 +RMD160 c60dba2a0278acf787d53a93ebac4de03c1d5ed8 sbcl-0.9.11a-powerpc-darwin-binary.tar.bz2 6766401 +SHA256 5cb563b19d1dd828e55bde9763404f5b908c9f5a043ba8c443415291b969b3d9 sbcl-0.9.11a-powerpc-darwin-binary.tar.bz2 6766401 +MD5 033b04259a929e71393281981fdf1f7a sbcl-0.9.14-x86-64-linux-binary.tar.bz2 7225013 +RMD160 7a544bedebd4389eb75fe67bb48c0d25f677bc0d sbcl-0.9.14-x86-64-linux-binary.tar.bz2 7225013 +SHA256 3db39ce36b1efc42cf99fc1be355aa8c0107e60ffb56f50bb001cc9b5cab70eb sbcl-0.9.14-x86-64-linux-binary.tar.bz2 7225013 +MD5 5a703f5dd196ed246fd84f4f58314995 sbcl-0.9.14-x86-linux-binary.tar.bz2 7517927 +RMD160 039968db40389a481da29dcc310aa05a50ee6ac6 sbcl-0.9.14-x86-linux-binary.tar.bz2 7517927 +SHA256 f1add7f9c76e1ea45f17b752a62f5ad5d1fb4d27d06ae5ebfed05629bba9fafa sbcl-0.9.14-x86-linux-binary.tar.bz2 7517927 +MD5 fe02f498620bce61a8688d4557a405b0 sbcl-1.0.1-source.tar.bz2 2902375 +RMD160 c86b352f547f3526288704e1a74463718ba11fe9 sbcl-1.0.1-source.tar.bz2 2902375 +SHA256 91ca14366b1363d3fa745a91a93005eaca74235d9225936d80b1d34116e76e5a sbcl-1.0.1-source.tar.bz2 2902375 diff --git a/dev-lisp/sbcl/sbcl-1.0.1.ebuild b/dev-lisp/sbcl/sbcl-1.0.1.ebuild new file mode 100644 index 000000000000..df0d94387b21 --- /dev/null +++ b/dev-lisp/sbcl/sbcl-1.0.1.ebuild @@ -0,0 +1,182 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/sbcl-1.0.1.ebuild,v 1.1 2007/01/18 04:09:58 mkennedy Exp $ + +inherit common-lisp-common-3 eutils flag-o-matic + +BV_X86=0.9.14 +BV_PPC=0.8.15 +BV_SPARC=0.8.15 +BV_MIPS=0.7.10 +BV_AMD64=0.9.14 +BV_PPC_MACOS=0.9.11a + +DESCRIPTION="Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp." +HOMEPAGE="http://sbcl.sourceforge.net/" +SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2 + x86? ( mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 ) + ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2 ) + sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 ) + mips? ( mirror://sourceforge/sbcl/${PN}-${BV_MIPS}-mips-linux-binary.tar.gz ) + amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 ) + ppc-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC_MACOS}-powerpc-darwin-binary.tar.bz2 )" + +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~amd64 ~mips ~ppc ~ppc-macos ~sparc ~x86" + +IUSE="ldb source threads unicode doc" + +DEPEND="doc? ( sys-apps/texinfo )" + +PROVIDE="virtual/commonlisp" + +sbcl_einfo() { + local method + case $# in + 0) method=einfo;; + 1) method=$1;; + *) die "Invalid number of arguments to scbl_einfo" + esac + $method ""; while read line; do $method "${line}"; done; $method "" +} + +pkg_setup() { + if built_with_use sys-devel/gcc hardened && gcc-config -c |grep -qv vanilla; then + sbcl_einfo eerror <<'EOF' +So-called "hardened" compiler features are incompatible with SBCL. You +must use gcc-config to select a profile with non-hardened features +(the "vanilla" profile) and "source /etc/profile" before continuing. +EOF + die + fi + if ! built_with_use sys-libs/glibc nptl && (use x86 || use amd64); then + sbcl_einfo eerror <<'EOF' +Building SBCL without NPTL support on at least x86 and amd64 +architectures is not a supported configuration in Gentoo. Please +refer to Bug #119016 for more information. +EOF + die + fi + if (use ppc-macos || use ppc) && use ldb; then + sbcl_einfo ewarn <<'EOF' +Building SBCL on PPC with LDB support is not a supported configuration +in Gentoo. Please refer to Bug #121830 for more information. +Continuing with LDB support disabled. +EOF + fi +} + +src_unpack() { + local a + # `use ppc` returns true for both ppc linux and ppc-macos systems + # specify + if use ppc-macos ; then + a="${PN}-${BV_PPC_MACOS}-powerpc-darwin-binary.tar.bz2" + elif use ppc; then + a="${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2" + else + for a in ${A}; do [[ $a == *binary* ]] && break; done + fi + unpack $a + mv ${PN}* sbcl-binary || die + unpack ${P}-source.tar.bz2 + pushd ${S} + epatch ${FILESDIR}/disable-tests-gentoo.patch || die + epatch ${FILESDIR}/vanilla-module-install-source-gentoo.patch || die + popd + sed -i "s,/lib,/$(get_libdir),g" ${S}/install.sh + sed -i "s,/usr/local/lib,/usr/$(get_libdir),g" \ + ${S}/src/runtime/runtime.c # #define SBCL_HOME ... + cat >${S}/customize-target-features.lisp <<'EOF' +(lambda (list) + (flet ((enable (x) + (pushnew x list)) + (disable (x) + (setf list (remove x list)))) +EOF + if use x86 || use amd64; then + use threads && echo '(enable :sb-thread)' \ + >>${S}/customize-target-features.lisp + fi + if (use ppc-macos || use ppc) && use ldb; then + sbcl_einfo ewarn <<'EOF' +Excluding LDB support for ppc-macos or ppc. +EOF + else + use ldb \ + && echo '(enable :sb-ldb)' \ + >>${S}/customize-target-features.lisp + fi + echo '(disable :sb-test)' >>${S}/customize-target-features.lisp + ! use unicode \ + && echo '(disable :sb-unicode)' \ + >>${S}/customize-target-features.lisp + cat >>${S}/customize-target-features.lisp <<'EOF' + ) + list) +EOF + cat ${S}/customize-target-features.lisp + + find ${S} -type f -name .cvsignore -print0 | xargs -0 rm -f + find ${S} -depth -type d -name CVS -print0 | xargs -0 rm -rf + find ${S} -type f -name \*.c -print0 | xargs -0 chmod 644 +} + +src_compile() { + local bindir="${WORKDIR}/sbcl-binary" + + filter-ldflags -Wl,--as-needed --as-needed # see Bug #132992 + + LANG=C PATH=${bindir}/src/runtime:${PATH} SBCL_HOME=${bindir}/output GNUMAKE=make \ + ./make.sh 'sbcl + --sysinit /dev/null + --userinit /dev/null + --disable-debugger + --core ${bindir}/output/sbcl.core' \ + || die + if use doc; then + cd ${S}/doc/manual + LANG=C make info html || die + fi +} + +src_install() { + unset SBCL_HOME + dodir /etc/ + cat >${D}/etc/sbclrc <<EOF +;;; The following is required if you want source location functions to +;;; work in SLIME, for example. + +(setf (logical-pathname-translations "SYS") + '(("SYS:SRC;**;*.*.*" #p"/usr/$(get_libdir)/sbcl/src/**/*.*") + ("SYS:CONTRIB;**;*.*.*" #p"/usr/$(get_libdir)/sbcl/**/*.*"))) +EOF + dodir /usr/share/man + dodir /usr/share/doc/${PF} + INSTALL_ROOT=${D}/usr DOC_DIR=${D}/usr/share/doc/${PF} sh install.sh || die + + doman doc/sbcl-asdf-install.1 + dodoc BUGS COPYING CREDITS INSTALL NEWS OPTIMIZATIONS PRINCIPLES README STYLE SUPPORT TLA TODO + if use doc; then + dohtml doc/html/* + doinfo ${S}/doc/manual/*.info* + fi + + if ! use nosource; then + # install the SBCL source + cp -pPR ${S}/src ${D}/usr/$(get_libdir)/sbcl + find ${D}/usr/$(get_libdir)/sbcl/src -type f -name \*.fasl -print0 | xargs -0 rm -f + fi + + impl-save-timestamp-hack sbcl +} + +pkg_postinst() { + standard-impl-postinst sbcl +} + +pkg_postrm() { + standard-impl-postrm sbcl /usr/bin/sbcl +}
\ No newline at end of file |