diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-06-20 07:11:20 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-06-20 07:11:20 +0000 |
commit | 6d3d223c30dd49d9b2268f6b64336c40a5ac3424 (patch) | |
tree | e91afc8f9be87a271d937676fcab820c775b9fd9 /dev-lisp/sbcl | |
parent | Revert to ~sparc wrt #326217 (diff) | |
download | historical-6d3d223c30dd49d9b2268f6b64336c40a5ac3424.tar.gz historical-6d3d223c30dd49d9b2268f6b64336c40a5ac3424.tar.bz2 historical-6d3d223c30dd49d9b2268f6b64336c40a5ac3424.zip |
old
Package-Manager: portage-2.2.0_alpha110/cvs/Linux x86_64
Diffstat (limited to 'dev-lisp/sbcl')
-rw-r--r-- | dev-lisp/sbcl/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lisp/sbcl/Manifest | 30 | ||||
-rw-r--r-- | dev-lisp/sbcl/files/sbcl-1.0.45-fix_install_man.patch | 12 | ||||
-rw-r--r-- | dev-lisp/sbcl/files/sbcl-1.0.45-fix_linux-os-c.patch | 14 | ||||
-rw-r--r-- | dev-lisp/sbcl/sbcl-1.0.19.ebuild | 193 | ||||
-rw-r--r-- | dev-lisp/sbcl/sbcl-1.0.45.ebuild | 184 |
6 files changed, 14 insertions, 426 deletions
diff --git a/dev-lisp/sbcl/ChangeLog b/dev-lisp/sbcl/ChangeLog index c724e9a21d6e..5891a1d549d6 100644 --- a/dev-lisp/sbcl/ChangeLog +++ b/dev-lisp/sbcl/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lisp/sbcl # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.180 2012/06/20 07:09:29 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.181 2012/06/20 07:11:20 ssuominen Exp $ + + 20 Jun 2012; Samuli Suominen <ssuominen@gentoo.org> -sbcl-1.0.19.ebuild, + -sbcl-1.0.45.ebuild, -files/sbcl-1.0.45-fix_install_man.patch, + -files/sbcl-1.0.45-fix_linux-os-c.patch: + old 20 Jun 2012; Samuli Suominen <ssuominen@gentoo.org> sbcl-1.0.19.ebuild: Revert to ~sparc wrt #326217 diff --git a/dev-lisp/sbcl/Manifest b/dev-lisp/sbcl/Manifest index c57fc99a0d67..385cf330a017 100644 --- a/dev-lisp/sbcl/Manifest +++ b/dev-lisp/sbcl/Manifest @@ -5,17 +5,7 @@ AUX gentoo-fix_install_man.patch 399 RMD160 8cbc6d8d2f70c10cf76a0a2a3e574b8267d9 AUX gentoo-fix_linux-os-c.patch 416 RMD160 6630a8b1cdfc1b430d33de656df2511d026176ce SHA1 7a01c7acaee0ed7a91c85ff9060cf52ed0c839f4 SHA256 ace8b944d7401428c42e915656bd8509efac926615349876abf3b1f5b33120fa AUX gentoo-fix_nopie_for_hardened_toolchain.patch 1122 RMD160 cc877c091bc35576e2b56b4e6b34392319086ff2 SHA1 2d619ef4c2735380d4e0ef92e4dcf5751fc51774 SHA256 80cdbc63648c2ea84bb4cd33815b7332bdca9a6101caab130705f0ef2bc078a4 AUX gentoo_fix_waitpid_c.patch 407 RMD160 e240d3a0f75fd4dabefdbd3b2ea7c6095529d759 SHA1 55acd258c3c8358154b258dfad8254f8bd3ce24e SHA256 6f0f2c40f0074f509a0f4cd38286896d6fb8f21eab296c7896d6162f20849f9a -AUX sbcl-1.0.45-fix_install_man.patch 399 RMD160 8cbc6d8d2f70c10cf76a0a2a3e574b8267d97370 SHA1 44186fdfdd12db5094abed07259016dc6b377695 SHA256 7e3e3f84be6d4dae51953825daaf26d8fe1482fd2f4e9d017297dd8ef55ebe47 -AUX sbcl-1.0.45-fix_linux-os-c.patch 418 RMD160 558a7cc1c212729e39f746d7db9cc7324d23a64f SHA1 5ff812499525ec51c0debdac78fc6d39bc4d55a0 SHA256 50b310b3d72b380b91828730a5539638decb6a4df6d28f93dff84ddad824b2ae AUX sbcl-1.0.55_no_doc_install.patch 1778 RMD160 99aa2e01d44139f4972b94fa6d868fafffb5581c SHA1 13b0d47d3851a1871ea8e48ef450b099a15f1595 SHA256 aae79884a1f8dd693ef4c10129920ccbcc32bacb72e076b326c6fd6730988b9b -DIST sbcl-0.9.12-alpha-linux-binary.tar.bz2 7147697 RMD160 09fa934242a9da6c765056420f694c8f23bba925 SHA1 07c5f14ae27ab2558b3ee845570487dfc0ca5942 SHA256 3a16825480ca476c986bc18d1a1a2c5cad5a1e71ff6ba21d5c5011f69b119245 -DIST sbcl-0.9.17-sparc-linux-binary.tar.bz2 7322996 RMD160 b9887c767ddc693fade88b04cc919859aef1b79a SHA1 45a01e64e8bbda991c0f252c344acf3c5f27ec69 SHA256 9238d9de88be3d05c3369cd15f52ae2819a82e7e55f9b85133c947d102ce4059 -DIST sbcl-1.0-powerpc-linux-binary.tar.bz2 6841127 RMD160 11cba4cec1efed9d9b322ab80d58ec63b93f66e4 SHA1 a95873859c529ac3e8013d64bc1a8ad345c1f6bc SHA256 912bdbee882907b5d4437fb9611637e31801db5303ddcd34f9514a386b0b995f -DIST sbcl-1.0.15-x86-64-linux-binary.tar.bz2 8002517 RMD160 38361effcf3b931656dfba8a0656ce4b2192f929 SHA1 685daee7b5e26cad5ef56bf9da28dbe6fabdfef8 SHA256 7b4e355be5f78c248a92e9b9973614b49cbd8ca6322f0bb09f1aad729c6b8912 -DIST sbcl-1.0.15-x86-linux-binary.tar.bz2 8274101 RMD160 288d5d18310c1282216995ea23549c7c0cfc814e SHA1 d976d17198b482017d8a278f4c684f5b99ee4df7 SHA256 92f224b21429457908ba24180ef73b18f7648e7b81ec147cfe3b6887b9c07d37 -DIST sbcl-1.0.17-mips-linux-binary.tar.bz2 8003933 RMD160 288376b4476369a6a18a8226f65346210c27102b SHA1 73b9a1a9718c4c699c5a249919c46d656338e44a SHA256 26a51f59908827f48cdaacbb2c10210f5a05832aa0a767dfd12f3975d23735f3 -DIST sbcl-1.0.17-mipsel-linux-binary.tar.bz2 8006069 RMD160 8a78f5e832276e85f344dcd6f98943ff952b8050 SHA1 b8fe2af7a17261ed337274469a9d2ad928411226 SHA256 3499e780c4912849765b2085be676d66b3a4ce0a1775893c3086d34f5a9904b0 -DIST sbcl-1.0.19-source.tar.bz2 3550919 RMD160 f4a6af97f12fa7affd7079f830f06666c512ee44 SHA1 7e7b76624d2833c106cdc97302beb9c7f0ec6c5a SHA256 94b29828979af6da2dd3c88528af7bc8b88f69f89b5a0a6a377b861ebcc46833 DIST sbcl-1.0.23-mips-linux-binary.tar.bz2 7932957 RMD160 5fc1f48beff1b67e101875aae4108fa2aa90d574 SHA1 fd409307855d354469297334588a988c35db386d SHA256 9a4ef25e7119ad12ca4789ad8e333b6550bbb865f8eae06c9fb66fbf9323f960 DIST sbcl-1.0.28-alpha-linux-binary.tar.bz2 7573824 RMD160 37a77f425b285185171c4d8677f367ebdbb362d8 SHA1 a389ae749721987b9f38d1dd25288b14615054b5 SHA256 0bd8125e1375a75b9dda286439dcbe9861d6df5c6fc8475fd217b8b757edf9cc DIST sbcl-1.0.28-mipsel-linux-binary.tar.bz2 8099121 RMD160 e58f02a4e2c68c46440fa58c3e951352c2de591b SHA1 4669ee76d4b477255cbe151459085d49703031f5 SHA256 ddff119b6e868b05704b9d171c7defb626a845f991cc0c1ec90fc1c11e022a13 @@ -23,22 +13,18 @@ DIST sbcl-1.0.28-powerpc-linux-binary.tar.bz2 7621107 RMD160 5fc0a18fd620e54bbae DIST sbcl-1.0.28-sparc-linux-binary.tar.bz2 8032042 RMD160 ca965bd20980f9f9b528a1c39be4979ad2941660 SHA1 6dea2a9637c272fd9406cd290cbfdbdbf3b0b8dc SHA256 a2e848ac11b0f16bb91866bd187949d908ad94fabb958a0b56320fc0e8b8923e DIST sbcl-1.0.37-x86-64-linux-binary.tar.bz2 8702821 RMD160 7fbe97150a2821e80c8b0a8b3b21eec28280ad1d SHA1 d3df7f9670addcf4f2ad7f1f6832161747e6390d SHA256 0757a1d49d5452c9bef8d1c270dd423aa1b752e6a7ce4a3ffb546253e1bf56f3 DIST sbcl-1.0.37-x86-linux-binary.tar.bz2 8815040 RMD160 0bca593f88b085f49586755d713c9004e3c689a0 SHA1 ed54d6b36d8abf0074babed30eb48ed0d9bdc894 SHA256 3d04ffc7c71afe523858799386a3175467556648b27184e39f62df8f60cf7268 -DIST sbcl-1.0.45-fix_build_system.patch.bz2 9453 RMD160 50efe4a90e2a7169cea548f96ec90fd0a2ce0c16 SHA1 273bd195458d947e59f6f06028d37a55f01564a9 SHA256 8f6a716c027e4e05b81340fbeb3fa6da259b9fb40b27b4e88a5086ee413abee8 -DIST sbcl-1.0.45-source.tar.bz2 3533569 RMD160 96191491778252276ebe02c8ad1db97eb8fb81b6 SHA1 fc376c17081dfc1f46ca24e9dcafac3a4026bcfe SHA256 d1c79aec233e6dfb0adbaacdacfd90070ea07e13dcbecad210f2c72a3c2654ab DIST sbcl-1.0.55-source.tar.bz2 3611026 RMD160 d97ac8d23787940c2042a40b0bd43c30e4a052e1 SHA1 1c9bd995da1c1a43d5ac670b340ff43840ad8217 SHA256 e3216a7b9c302b6c1431d0f1ae444008de8ac465eb44f4ae841300d052d207ad -EBUILD sbcl-1.0.19.ebuild 6249 RMD160 ff75afebe568c2219c7f0f2abf2112d9fefc8490 SHA1 47b0bca7f29a0502e64c95298f3c8f908d131450 SHA256 1e49d14b89b61163b6224c15b744a816c6125dfa2e89d1a64fd85e40f0c6efb0 -EBUILD sbcl-1.0.45.ebuild 5808 RMD160 97ef0eba8002db182b709c681570fa511354939b SHA1 a29168362df41276eca2ea0001da78a927cfc8e1 SHA256 abac2420c260bf415dc0b38984bc8d225b4d0003fcc4c619bf4b8f308e13d4d0 EBUILD sbcl-1.0.55-r1.ebuild 6391 RMD160 a620f554785379873b59d52c3d524fcfcc2ebe1f SHA1 854cd28e2d0663aa0f080532e474f78f8c4ca8a9 SHA256 13f16f4a6284bd9c3ba247b0953dddeec953a00a941d9ee574ae7ab0e17dfd84 -MISC ChangeLog 50412 RMD160 9854556fe77c83e09f1194ce76342ada34024f31 SHA1 f76033153dc1f5709502e33aec63b238878167fe SHA256 542928dc0c8d97589c8316061f51b1f4a8bfbcc6c77cd099fb7871b8ab7ea2d5 +MISC ChangeLog 50602 RMD160 dd37cbff04a7ec8238cb88ca20747bc8a18ec552 SHA1 bce6e4530cb6eeceab11d255d8437aaec7765708 SHA256 597f526896b17a8e214121ac119a53517b537afcd80c618504b387448ec3eaec MISC metadata.xml 1750 RMD160 6e9e15d15f9097d2b642a7fd67eb826a9cf1919d SHA1 180e2722e5a9b03cf26b69bc98ba028f3b47054f SHA256 b9be60f39ec208e23fa5a0c1fdb127cd8e6a9e397bcbe12b601287c24c396398 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQEcBAEBAgAGBQJP4XYXAAoJEEdUh39IaPFNy2cH/308xZCUkR+K/LTQ+A7dLcJA -j8aW3AaghcZ/1FLkhfLHP39DuHQTZDQRMbU/7/bgSImnOI64/qNhApBXzup/W791 -J4LHIrRyxTttmGuj6+dyEqmGifWIHGCnoKwoI9mGU7LUshoQ4pYjLyRiqwn5Qjnu -mFnizGPV6N1em2PyEYV8YKQYdE8ED62rs/QLcO7qbTgeF5we+oPt2FOsuwM2D2hk -76NmSKLE3UsLzTwnlkSaEX5ievOBKeNmyW41JKVYRz6Q1cGM8EFYUJAm1l+x++7U -Nh6Pwj199YLQ/MtjNlxB1S57d4t3jpYSJdjFQlQNO7RnSwWG39WspeVjPKP8RRk= -=pu+E +iQEcBAEBAgAGBQJP4XaEAAoJEEdUh39IaPFNZ2gH/00RYnzXMGQ1FdbGNZESVbr1 +dnNLR78Zy0J+EZtpyzL7e0bUKQFm9Mb+Nu7QCoSyDoavM/YscbWK/186Sr3p/SNF +A7/WWxfCB33chYERLNUpUqjEiqglSLpC86JW7gOjwFHiesw9CoGmayD6dQHy6hjA +icdaD6mKHg5qlbo4RCxKW7CQPTmOFukQFbSU6ZyqqLwfnneWymYdCeBGEafwPx0w +3x4yK9WrxKoVuj9Xef2UiC0wp4gml3vx3oEs1CVrbsGvvUhWOin+0DEyfXDBlXiQ +cbUarYICpA+C65vf9j/0qEADE156civTqNwsTeZCr3Egai7hTCiMgOpIK0ucdec= +=ePV9 -----END PGP SIGNATURE----- diff --git a/dev-lisp/sbcl/files/sbcl-1.0.45-fix_install_man.patch b/dev-lisp/sbcl/files/sbcl-1.0.45-fix_install_man.patch deleted file mode 100644 index 87a5f43c0c13..000000000000 --- a/dev-lisp/sbcl/files/sbcl-1.0.45-fix_install_man.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/install.sh b/install.sh -index 1400791..ac149c1 100644 ---- a/install.sh -+++ b/install.sh -@@ -106,6 +106,7 @@ echo "Documentation:" - - # man - cp doc/sbcl.1 "$BUILD_ROOT$MAN_DIR"/man1/ && echo " man $BUILD_ROOT$MAN_DIR/man1/sbcl.1" -+cp doc/sbcl-asdf-install.1 "$BUILD_ROOT$MAN_DIR"/man1/ && echo " man $BUILD_ROOT$MAN_DIR/man1/sbcl-asdf-install.1" - - # info - for info in doc/manual/*.info diff --git a/dev-lisp/sbcl/files/sbcl-1.0.45-fix_linux-os-c.patch b/dev-lisp/sbcl/files/sbcl-1.0.45-fix_linux-os-c.patch deleted file mode 100644 index b5c593051186..000000000000 --- a/dev-lisp/sbcl/files/sbcl-1.0.45-fix_linux-os-c.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/src/runtime/linux-os.c 2009-05-01 13:30:51.000000000 +0300 -+++ b/src/runtime/linux-os.c 2010-03-24 02:30:48.000000000 +0200 -@@ -56,11 +56,7 @@ - #include "cheneygc-internal.h" - #endif - --#ifdef LISP_FEATURE_X86 --/* Prototype for personality(2). Done inline here since the header file -- * for this isn't available on old versions of glibc. */ - int personality (unsigned long); --#endif - - size_t os_vm_page_size; - diff --git a/dev-lisp/sbcl/sbcl-1.0.19.ebuild b/dev-lisp/sbcl/sbcl-1.0.19.ebuild deleted file mode 100644 index 1d5ac3fc1b0c..000000000000 --- a/dev-lisp/sbcl/sbcl-1.0.19.ebuild +++ /dev/null @@ -1,193 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/sbcl-1.0.19.ebuild,v 1.12 2012/06/20 07:09:29 ssuominen Exp $ - -inherit common-lisp-common-3 eutils flag-o-matic multilib - -#same order as http://www.sbcl.org/platform-table.html -BV_X86=1.0.15 -BV_AMD64=1.0.15 -BV_PPC=1.0 -BV_SPARC=0.9.17 -BV_ALPHA=0.9.12 -BV_MIPS=1.0.17 -BV_MIPSEL=1.0.17 - -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 )" - -PDEPEND="dev-lisp/gentoo-init" - -#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 - if (use x86 || use amd64) && has_version "<sys-libs/glibc-2.6" \ - && ! built_with_use sys-libs/glibc nptl; then - eerror "Building SBCL without NPTL support on at least x86 and amd64" - eerror "architectures is not a supported configuration in Gentoo. Please" - eerror "refer to Bug #119016 for more information." - 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 ... - - # 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 - - 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_compile() { - local bindir="${WORKDIR}"/sbcl-binary - - append-ldflags $(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}" - - impl-save-timestamp-hack sbcl -} - -pkg_postinst() { - standard-impl-postinst sbcl -} - -pkg_postrm() { - standard-impl-postrm sbcl /usr/bin/sbcl -} diff --git a/dev-lisp/sbcl/sbcl-1.0.45.ebuild b/dev-lisp/sbcl/sbcl-1.0.45.ebuild deleted file mode 100644 index 12c21e03aa08..000000000000 --- a/dev-lisp/sbcl/sbcl-1.0.45.ebuild +++ /dev/null @@ -1,184 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/sbcl-1.0.45.ebuild,v 1.3 2011/03/27 22:23:58 pchrist Exp $ - -EAPI=3 -inherit multilib eutils flag-o-matic - -#same order as http://www.sbcl.org/platform-table.html -BV_X86=1.0.37 -BV_AMD64=1.0.37 -BV_PPC=1.0.28 -BV_SPARC=1.0.28 -BV_ALPHA=1.0.28 -BV_MIPS=1.0.23 -BV_MIPSEL=1.0.28 - -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 - mirror://gentoo/${P}-fix_build_system.patch.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 ) )" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" -IUSE="ldb source +threads +unicode debug doc cobalt" - -DEPEND="doc? ( sys-apps/texinfo >=media-gfx/graphviz-2.26.0 )" -RDEPEND="elibc_glibc? ( >=sys-libs/glibc-2.3 || ( <sys-libs/glibc-2.6[nptl] >=sys-libs/glibc-2.6 ) )" -PDEPEND="dev-lisp/gentoo-init" - -# Disable warnings about executable stacks, as this won't be fixed soon by upstream -QA_EXECSTACK="usr/bin/sbcl" - -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" - sbcl_feature "$(usep debug)" ":sb-xref-for-internals" - cat >> "${CONFIG}" <<'EOF' - ) - list) -EOF - cat "${CONFIG}" -} - -src_unpack() { - unpack ${A} - mv sbcl-*-linux sbcl-binary - cd "${S}" -} - -src_prepare() { - epatch "${WORKDIR}/${P}-fix_build_system.patch" - epatch "${FILESDIR}/${P}-fix_install_man.patch" - epatch "${FILESDIR}/${P}-fix_linux-os-c.patch" - - use source && sed 's%"$(BUILD_ROOT)%$(MODULE).lisp "$(BUILD_ROOT)%' -i contrib/vanilla-module.mk - - # Some shells(such as dash) don't have "time" as builtin - # and we don't want to DEPEND on sys-process/time - # see bug #338949 - sed "s,^time ,," -i make.sh - - sed "s,/lib,/$(get_libdir),g" -i install.sh - sed "s,/usr/local/lib,/usr/$(get_libdir),g" -i src/runtime/runtime.c # #define SBCL_HOME ... - - find . -type f -name .cvsignore -delete -} - -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\"gentoo-${PR}\"" > branch-version.lisp-expr - - # applying customizations - sbcl_apply_features -} - -src_compile() { - local bindir="${WORKDIR}"/sbcl-binary - - strip-unsupported-flags ; filter-flags -fomit-frame-pointer - append-ldflags -Wl,--no-as-needed # see bug #132992 - - # To make the hardened compiler NOT compile with -fPIE -pie - if gcc-specs-pie ; then - filter-flags -fPIE - append-ldflags -nopie - fi - - # clear the environment to get rid of non-ASCII strings, see bug 174702 - # set HOME for paludis - env - HOME="${T}" \ - CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" \ - CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" \ - GNUMAKE=make ./make.sh \ - "sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" \ - || 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 info html || die "Cannot build internal docs" - fi -} - -src_test() { - ewarn "It is known that some tests fail eg. run-program.impure.lisp." - ewarn "Before filing any bug(s), search for older submissions." - cd tests && sh run-tests.sh -} - -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 - unset SBCL_HOME - INSTALL_ROOT="${D}/usr" LIB_DIR="/usr/$(get_libdir)" DOC_DIR="${D}/usr/share/doc/${PF}" \ - sh install.sh || die "install.sh failed" - - # rm empty directories lest paludis complain about this - find "${D}" -empty -type d -exec rmdir -v {} + - - if use doc; then - dohtml -r doc/manual/ - doinfo doc/manual/*.info* - dohtml -r doc/internals/sbcl-internals - doinfo doc/internals/sbcl-internals.info - docinto internals-notes && dodoc doc/internals-notes/* - else - rm -Rv "${D}/usr/share/doc/${PF}" - fi - - dodoc BUGS CREDITS INSTALL NEWS OPTIMIZATIONS PRINCIPLES README STYLE TLA TODO - - # install the SBCL source - if use source; then - ./clean.sh - cp -av src "${D}/usr/$(get_libdir)/sbcl/" - 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}" -} |