summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarijn Schouten <hkbst@gentoo.org>2009-03-11 14:32:38 +0000
committerMarijn Schouten <hkbst@gentoo.org>2009-03-11 14:32:38 +0000
commit62082a0f445123feebe6c553e5276488e14906f0 (patch)
tree90101ec29814a5c845f3dff5b9203d83d76b03d2 /dev-lisp/sbcl
parentFix automagic dependency on mdns-responder, spotted by flameeyes (diff)
downloadhistorical-62082a0f445123feebe6c553e5276488e14906f0.tar.gz
historical-62082a0f445123feebe6c553e5276488e14906f0.tar.bz2
historical-62082a0f445123feebe6c553e5276488e14906f0.zip
bump, get rid of timestamp hack, move to EAPI=2 for use dep
Package-Manager: portage-2.1.6.7/cvs/Linux x86_64
Diffstat (limited to 'dev-lisp/sbcl')
-rw-r--r--dev-lisp/sbcl/ChangeLog9
-rw-r--r--dev-lisp/sbcl/Manifest20
-rw-r--r--dev-lisp/sbcl/sbcl-1.0.26-r10.ebuild179
3 files changed, 195 insertions, 13 deletions
diff --git a/dev-lisp/sbcl/ChangeLog b/dev-lisp/sbcl/ChangeLog
index 269105f69b56..3e391fd39d92 100644
--- a/dev-lisp/sbcl/ChangeLog
+++ b/dev-lisp/sbcl/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lisp/sbcl
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.149 2008/11/16 16:31:39 flameeyes Exp $
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.150 2009/03/11 14:32:38 hkbst Exp $
+
+*sbcl-1.0.26-r10 (11 Mar 2009)
+
+ 11 Mar 2009; Marijn Schouten <hkBst@gentoo.org> +sbcl-1.0.26-r10.ebuild:
+ bump, get rid of timestamp hack, move to EAPI=2 for use dep
16 Nov 2008; Diego E. Pettenò <flameeyes@gentoo.org> sbcl-1.0.9.ebuild,
sbcl-1.0.10.ebuild, sbcl-1.0.11-r1.ebuild, sbcl-1.0.12.ebuild,
diff --git a/dev-lisp/sbcl/Manifest b/dev-lisp/sbcl/Manifest
index a028865fca2d..9d40f7af9c8e 100644
--- a/dev-lisp/sbcl/Manifest
+++ b/dev-lisp/sbcl/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX disable-tests-gentoo.patch 2398 RMD160 65a45c07af77b042da859fb00d6f19c7d3354289 SHA1 3f970fdc360b081e51b82a92debd5b2522b73707 SHA256 503fb71f962097025375cdbb6e2a80d734f107d7c13148319f7cf9170a6f65d2
AUX vanilla-module-install-source-gentoo.patch 471 RMD160 6eace9d24ddade1e53900880c944f332b32e3b10 SHA1 f70d4c097926ca6c61b8601dbb2b672571c5e1fe SHA256 af86a188c77abc5624744683ee91e4414554ebd0f83b9d1b7dcb01468316cd52
DIST sbcl-0.9.12-alpha-linux-binary.tar.bz2 7147697 RMD160 09fa934242a9da6c765056420f694c8f23bba925 SHA1 07c5f14ae27ab2558b3ee845570487dfc0ca5942 SHA256 3a16825480ca476c986bc18d1a1a2c5cad5a1e71ff6ba21d5c5011f69b119245
@@ -26,6 +23,13 @@ DIST sbcl-1.0.17-mips-linux-binary.tar.bz2 8003933 RMD160 288376b4476369a6a18a82
DIST sbcl-1.0.17-mipsel-linux-binary.tar.bz2 8006069 RMD160 8a78f5e832276e85f344dcd6f98943ff952b8050 SHA1 b8fe2af7a17261ed337274469a9d2ad928411226 SHA256 3499e780c4912849765b2085be676d66b3a4ce0a1775893c3086d34f5a9904b0
DIST sbcl-1.0.18-source.tar.bz2 3239013 RMD160 5a8974c381693bd9fb26789ef232f54637434a30 SHA1 341f1a2af0b29b415b3c36e45cecf41f58d34be4 SHA256 090bec638688421385daff89e22d5396e5bf6e3c5adeea5154423fb6b8ac58d3
DIST sbcl-1.0.19-source.tar.bz2 3550919 RMD160 f4a6af97f12fa7affd7079f830f06666c512ee44 SHA1 7e7b76624d2833c106cdc97302beb9c7f0ec6c5a SHA256 94b29828979af6da2dd3c88528af7bc8b88f69f89b5a0a6a377b861ebcc46833
+DIST sbcl-1.0.22-sparc-linux-binary.tar.bz2 7962410 RMD160 39c23b61b0ec6ea7f2e27e2a32d33296ec5849c7 SHA1 a1f541f964d1c0dd2f1542e54f130abc0673fbf7 SHA256 630c1ca0bb2f392adce9170ddbd58da8fa88515f2414dc34d7e15ef20e561dba
+DIST sbcl-1.0.23-mips-linux-binary.tar.bz2 7932957 RMD160 5fc1f48beff1b67e101875aae4108fa2aa90d574 SHA1 fd409307855d354469297334588a988c35db386d SHA256 9a4ef25e7119ad12ca4789ad8e333b6550bbb865f8eae06c9fb66fbf9323f960
+DIST sbcl-1.0.23-mipsel-linux-binary.tar.bz2 7979468 RMD160 a8ffcb664771635d186bd6f81c7fae7694a47197 SHA1 472b5692cd1086f740ebd2beec4a6ef340dc38b8 SHA256 9873354bfd80f620913789f913ed2e7e035054a10969cf879a31dfaf8b619c2a
+DIST sbcl-1.0.23-powerpc-linux-binary.tar.bz2 7580535 RMD160 10b3b88f519116bba5bd4b6e3bf11cb7a1add7e5 SHA1 572e5c5793d4db5b80c470134d97fb2559d55c88 SHA256 3b9abda7cc1b55857b216d76a43c27e5612967acd2ccf68488c17c1e475fd449
+DIST sbcl-1.0.23-x86-linux-binary.tar.bz2 8330838 RMD160 93811e756b20d1e3234c9ef954c4d4f1162679a9 SHA1 17117077c473ccd7a597daf0b83c0b81a7547017 SHA256 40e70dad81d3948d7509d6f8f228f007652c6f80b3cfb3025f6eb44f40c8ff49
+DIST sbcl-1.0.25-x86-64-linux-binary.tar.bz2 8207707 RMD160 8672331b76c9b9ec13f9466b9f3575eabea72b05 SHA1 e93a6c4abcc2d280cb3a031c3f14fee63d97fb9b SHA256 021b3865d8c882c0fc8cca7d6b3d2e169610cf2c5fa9419c7decc029170a3724
+DIST sbcl-1.0.26-source.tar.bz2 3299527 RMD160 71b6430403309a4668bd5a5efb88e5339d39b47b SHA1 b13b87b1ea076a56e916d0bced7c62dd675c1efe SHA256 94b258b61c4df509ee1f0ad7451b23b20597fd3f7f3e7cb5d28f3f05fa183b4d
DIST sbcl-1.0.7-x86-64-linux-binary.tar.bz2 7679046 RMD160 efb21072e91dab889e1bb4da5479beafedc2553f SHA1 0b0da77061f70a22ed11f68811f365835b5bdec8 SHA256 2e8c1f5f8307c9175fd763e8343d74b04dd505ce3347d8cb65ad0588df8f5118
DIST sbcl-1.0.7-x86-linux-binary.tar.bz2 7966584 RMD160 87f20afde7d3791cf6548c29a02117afa87b27c3 SHA1 e25881951c7f5bceaadda2b8dc77bf5f6432b32a SHA256 a5037d4c88bec71517af0c67fe12d4d3305fbc76d4744ad331e034c41522a178
DIST sbcl-1.0.9-source.tar.bz2 3147659 RMD160 6e0dc6434f14bb4e78ee71abed02affe4ba1db8b SHA1 30180ab9657c17ccd5f2a9360132cfe4286e2704 SHA256 e099e7854e94b92213b52ab38e05b376fcc3f30daa44401696a15bec6d4de0e8
@@ -39,13 +43,7 @@ EBUILD sbcl-1.0.14.ebuild 6235 RMD160 928ede1b9e1f91805fe6b035bbf4686450e83ada S
EBUILD sbcl-1.0.15.ebuild 6248 RMD160 a87ed852f2cfe6b647dbce4be6c82da5f7ab0e52 SHA1 187040253f2b5941f9bbca9641616ee8b2e01f2a SHA256 231a450fe047c135dcef0825b0fcea4d89c2d05bd97f9f364f6ee6a7a3dc999d
EBUILD sbcl-1.0.18.ebuild 6456 RMD160 9568a3b603bff5219e0f0e393b5a9de3deec7629 SHA1 c16ebd2d8ddaa9d2aa9889e91d378cee0f03f557 SHA256 cc306bc73ba1cb48fcc858a47f1ad5194b32fe8d10d01c57f07f9d70b6bb2c60
EBUILD sbcl-1.0.19.ebuild 6456 RMD160 08bbe76ec57011a0f6c5b4fceddb82f531132471 SHA1 98cba90e312e35dbf92a45caaa8074747d41f4d0 SHA256 6baeb6dfa7f13067754b3bf0a6bd6be35116e7876635372be0f7bade8c06d2cf
+EBUILD sbcl-1.0.26-r10.ebuild 5944 RMD160 e51c228bffc62f9c5c5df2902ea60f03f170640f SHA1 a9e405c01e051dc88d8beeb54c695d2c1f549e8f SHA256 fe1021bb4cbae1937b13679966e774c654febf81725ddd311c111375db7e6a4b
EBUILD sbcl-1.0.9.ebuild 5904 RMD160 34298dad0d334cb5ce0d5395dff1095df14ca831 SHA1 9688497ec33084ebe9d7537f72e8878c90bbf071 SHA256 c84853ed8be4c8668749d0e878ed35dce9fd85ce8b8ce29ae2a43651a98d05a7
-MISC ChangeLog 44704 RMD160 0f8297ec42b4b1b78e2cecd7eb612a4ef2298ded SHA1 7e5fb9139c97d7523965e41f94d884ba563ed1f9 SHA256 e4af2f51088b0d5c21c0f4f6878145c22ad189f6b18b5de441ed3f2868e9883c
+MISC ChangeLog 44870 RMD160 995faf09eabe61e6ad6203e7b095276cac8afe30 SHA1 d608e9775b138b995bea25504447dd665f9d6e31 SHA256 b3d1a02b24292f6082ac1a8a8eba264c6db026b622888249eb695d24501e8b41
MISC metadata.xml 1192 RMD160 cc9ef1f835468d8901a7fac96ff183cffaa8448f SHA1 d628ab8da2e19ab42b6df9dcd1afc09e3efdcd05 SHA256 b5fb21d6b7020a9ebde8793cfb7209ee1db5c5d6ee0b1c8fd6c7b7e3a3db27b1
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkkgSuwACgkQAiZjviIA2Xg9UgCbB2WIMviuFiaP/mO3oZQLLV8R
-6VgAoMFz1p8mizjs5gUbl60Ik0CPCdsU
-=e9it
------END PGP SIGNATURE-----
diff --git a/dev-lisp/sbcl/sbcl-1.0.26-r10.ebuild b/dev-lisp/sbcl/sbcl-1.0.26-r10.ebuild
new file mode 100644
index 000000000000..615a71bf4bb5
--- /dev/null
+++ b/dev-lisp/sbcl/sbcl-1.0.26-r10.ebuild
@@ -0,0 +1,179 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/sbcl-1.0.26-r10.ebuild,v 1.1 2009/03/11 14:32:38 hkbst Exp $
+
+EAPI=2
+
+inherit common-lisp-common-3 eutils flag-o-matic
+
+#same order as http://www.sbcl.org/platform-table.html
+BV_X86=1.0.23
+BV_AMD64=1.0.25
+BV_PPC=1.0.23
+BV_SPARC=1.0.22
+BV_ALPHA=0.9.12
+BV_MIPS=1.0.23
+BV_MIPSEL=1.0.23
+
+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 )
+ amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-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 )
+ alpha? ( mirror://sourceforge/sbcl/${PN}-${BV_ALPHA}-alpha-linux-binary.tar.bz2 )
+ mips? ( !cobalt? ( mirror://sourceforge/sbcl/${PN}-${BV_MIPS}-mips-linux-binary.tar.bz2 ) )
+ mips? ( cobalt? ( mirror://sourceforge/sbcl/${PN}-${BV_MIPSEL}-mipsel-linux-binary.tar.bz2 ) )"
+
+# SRC_URI is part of the metadata cache; it's evaluated contents must be independent of the system that creates the metadata cache.
+# ILLEGAL: mips? ( mirror://sourceforge/sbcl/${PN}-${BV_MIPS}-$([[$(tc-endian) = big]] && echo mips || echo mipsel)-linux-binary.tar.bz2 )
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~ppc ~sparc ~x86"
+IUSE="ldb source +threads +unicode doc cobalt"
+
+DEPEND="doc? ( sys-apps/texinfo >=media-gfx/graphviz-2.20[png] )"
+RDEPEND="elibc_glibc? ( >=sys-libs/glibc-2.3 || ( <sys-libs/glibc-2.6[nptl] >=sys-libs/glibc-2.6 ) )"
+PDEPEND="dev-lisp/gentoo-init"
+
+PROVIDE="virtual/commonlisp"
+
+#Disable warnings about executable stacks, as this won't be fixed soon, by
+#upstream
+QA_EXECSTACK="usr/bin/sbcl usr/lib/sbcl/src/runtime/sbcl usr/lib/sbcl/src/runtime/*.o"
+
+pkg_setup() {
+ if built_with_use sys-devel/gcc hardened && gcc-config -c | grep -qv vanilla; then
+ eerror "So-called \"hardened\" compiler features are incompatible with SBCL. You"
+ eerror "must use gcc-config to select a profile with non-hardened features"
+ eerror "(the \"vanilla\" profile) and \"source /etc/profile\" before continuing."
+ die
+ fi
+}
+
+CONFIG="${S}/customize-target-features.lisp"
+ENVD="${T}/50sbcl"
+
+usep() {
+ use ${1} && echo "true" || echo "false"
+}
+
+sbcl_feature() {
+ echo "$( [[ $1 == "true" ]] && echo "(enable $2)" || echo "(disable $2)")" >> "${CONFIG}"
+}
+
+sbcl_apply_features() {
+ cat > "${CONFIG}" <<'EOF'
+(lambda (list)
+ (flet ((enable (x) (pushnew x list))
+ (disable (x) (setf list (remove x list))))
+EOF
+ if use x86 || use amd64; then
+ sbcl_feature "$(usep threads)" ":sb-thread"
+ fi
+ sbcl_feature "$(usep ldb)" ":sb-ldb"
+ sbcl_feature "false" ":sb-test"
+ sbcl_feature "$(usep unicode)" ":sb-unicode"
+ cat >> "${CONFIG}" <<'EOF'
+ )
+ list)
+EOF
+ cat "${CONFIG}"
+}
+
+src_unpack() {
+ unpack ${A}
+ mv sbcl-*-linux sbcl-binary
+ cd "${S}"
+
+# epatch "${FILESDIR}/disable-tests-gentoo-${PV}.patch"
+ use source && sed 's%"$(BUILD_ROOT)%$(MODULE).lisp "$(BUILD_ROOT)%' -i contrib/vanilla-module.mk
+
+ sed "s,/lib,/$(get_libdir),g" -i "${S}/install.sh"
+ sed "s,/usr/local/lib,/usr/$(get_libdir),g" -i "${S}/src/runtime/runtime.c" # #define SBCL_HOME ...
+
+ find "${S}" -type f -name .cvsignore -print0 | xargs -0 rm -f
+ find "${S}" -depth -type d -name CVS -or -name .git -print0 | xargs -0 rm -rf
+ find "${S}" -type f -name \*.c -print0 | xargs -0 chmod 644
+}
+
+src_configure() {
+ # customizing SBCL version as per
+ # http://sbcl.cvs.sourceforge.net/sbcl/sbcl/doc/PACKAGING-SBCL.txt?view=markup
+ echo -e ";;; Auto-generated by Gentoo\n\"${PVR}-gentoo\"" > "${S}/version.lisp-expr"
+
+ # applying customizations
+ sbcl_apply_features
+}
+
+src_compile() {
+ local bindir="${WORKDIR}"/sbcl-binary
+
+ append-ldflags -Wl,--no-as-needed # see Bug #132992
+
+ # clear the environment to get rid of non-ASCII strings, see bug 174702
+ # set HOME for paludis
+ env - HOME="${T}" \
+ PATH="${bindir}/src/runtime:${PATH}" SBCL_HOME="${bindir}/output" GNUMAKE=make ./make.sh \
+ "sbcl --no-sysinit --no-userinit --disable-debugger --core ${bindir}/output/sbcl.core" \
+ || die "make failed"
+
+ # need to set HOME because libpango(used by graphviz) complains about it
+ if use doc; then
+ env - HOME="${T}" make -C doc/manual info html || die "Cannot build manual"
+ env - HOME="${T}" make -C doc/internals html || die "Cannot build internal docs"
+ fi
+}
+
+src_test() {
+# FILES="exhaust.impure.lisp"
+ cd tests
+ sh run-tests.sh
+# sh run-tests.sh ${FILES}
+# sh run-tests.sh --break-on-failure ${FILES}
+}
+
+src_install() {
+ # install system-wide initfile
+ 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/**/*.*")))
+
+;;; Setup ASDF
+(load "/etc/gentoo-init.lisp")
+EOF
+
+ # Install documentation
+ dodir /usr/share/man
+ dodir /usr/share/doc/${PF}
+ unset SBCL_HOME
+ INSTALL_ROOT="${D}"/usr DOC_DIR="${D}"/usr/share/doc/${PF} sh install.sh || die "install.sh failed"
+
+ doman doc/sbcl-asdf-install.1
+
+ dodoc BUGS CREDITS INSTALL NEWS OPTIMIZATIONS PRINCIPLES README STYLE SUPPORT TLA TODO
+
+ if use doc; then
+ dohtml doc/html/*
+ doinfo "${S}"/doc/manual/*.info*
+ dohtml -r "${S}"/doc/internals/sbcl-internals
+ fi
+
+ # install the SBCL source
+ if use source; then
+ 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
+
+ # necessary for running newly-saved images
+ echo "SBCL_HOME=/usr/$(get_libdir)/${PN}" > "${ENVD}"
+ echo "SBCL_SOURCE_ROOT=/usr/$(get_libdir)/${PN}/src" >> "${ENVD}"
+ doenvd "${ENVD}"
+}