diff options
author | Andrey Grozin <grozin@gentoo.org> | 2014-01-29 13:37:19 +0000 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2014-01-29 13:37:19 +0000 |
commit | 84621fc5b3836402127e9cd28a2556a0c8c4f274 (patch) | |
tree | 00b1298efc58c1063f165442c5503afa5f0907d5 /dev-lisp | |
parent | Stable for HPPA too. (diff) | |
download | historical-84621fc5b3836402127e9cd28a2556a0c8c4f274.tar.gz historical-84621fc5b3836402127e9cd28a2556a0c8c4f274.tar.bz2 historical-84621fc5b3836402127e9cd28a2556a0c8c4f274.zip |
Version bump
Package-Manager: portage-2.2.8-r1/cvs/Linux i686
Manifest-Sign-Key: 0x3AFFCE974D34BD8C!
Diffstat (limited to 'dev-lisp')
-rw-r--r-- | dev-lisp/sbcl/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lisp/sbcl/Manifest | 33 | ||||
-rw-r--r-- | dev-lisp/sbcl/sbcl-1.1.15.ebuild | 207 |
3 files changed, 231 insertions, 16 deletions
diff --git a/dev-lisp/sbcl/ChangeLog b/dev-lisp/sbcl/ChangeLog index 0945d62a7b55..31882c3e719b 100644 --- a/dev-lisp/sbcl/ChangeLog +++ b/dev-lisp/sbcl/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lisp/sbcl # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.199 2014/01/11 11:09:50 grozin Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.200 2014/01/29 13:37:01 grozin Exp $ + +*sbcl-1.1.15 (29 Jan 2014) + + 29 Jan 2014; Andrey Grozin <grozin@gentoo.org> +sbcl-1.1.15.ebuild: + Version bump 11 Jan 2014; Andrey Grozin <grozin@gentoo.org> sbcl-1.1.14.ebuild, +files/bsd-sockets-test.patch, +files/concurrency-test.patch: diff --git a/dev-lisp/sbcl/Manifest b/dev-lisp/sbcl/Manifest index 52ee5fbb51eb..ffe2f6863f38 100644 --- a/dev-lisp/sbcl/Manifest +++ b/dev-lisp/sbcl/Manifest @@ -23,30 +23,33 @@ DIST sbcl-1.1.12-source.tar.bz2 4217764 SHA256 8c9412cbdb601b636ff3e3c7908ca46d9 DIST sbcl-1.1.12-x86-64-linux-binary.tar.bz2 9508638 SHA256 267d2d1c3e1ac380a36d61e404486eb943f86f0c67bab2adffcf430ff729c75e SHA512 bac696564d681edf99bcf409ffa7fcfc4a4218a0715dfda657dbee2d83983a1752420a5f99f7f262177486b1896cb16224dc06ce2b3dc404cc3398e131d49cd2 WHIRLPOOL be577acc58cb18089ae38c78408b550161af3eb97e73241d8dfc1fcf9f7b3ab0649cf620db1d4b942f876fe3768f2e9fbd14adf030b3de2258ab05d1331fdb38 DIST sbcl-1.1.14-source.tar.bz2 4218825 SHA256 671e65a361d835313abab79404c954da5703c8ed5ceea982dde7ef4eb0c11a6f SHA512 46f4864807f8bfa5ab5945aba4a5ac7296593ca1e5c7dda912d6e85ad4fdc80a2f7d6e9dd8f901675f6ea45559971d630252e79e0d8748494ca05649da186691 WHIRLPOOL 846093bc89de9e32b3a99b3aafb6c77854c547fc857217e1294e3db885a1f5e264ea9f9a2e41302465ea890e8af654391600448f4bec84bbecf76b31ba7e2f30 DIST sbcl-1.1.14-x86-64-linux-binary.tar.bz2 9015692 SHA256 e1ff448f63c1b70145ea49b17040f68b40ff544d1350f585977f515ddfdf22eb SHA512 d0590f2e2ba89f3f33a487d39feb34f2e6b81d75afd05549c50cc5a1c1508267e9becc93bacc8809c5f7aed60df687418c4e61ad8e17b1682025352a7ac51eb4 WHIRLPOOL 5de13765bcdb587c25f86a07380dde3a0282957c2c073f535ca5099179744d4e6fd0a09746cbc3e9724540a2a5f51b1f971bdb8cc6ca46f3cba5403c7e32b2c4 +DIST sbcl-1.1.15-source.tar.bz2 4230348 SHA256 1793f9927bfbcbe25066cc8b94ad0542a1a563a16820d028f8cc5520c6b57365 SHA512 f218601189d04082d92a966ae3d56eb709f68ac58ee4569d6bd2c70044d84eae3a18eae39cc411655cd1204c0363c3120a9da37b4bc7906a9d086602d0941e44 WHIRLPOOL e2c9683fd7d8fee58001acc37e5877b445e315704b62654fa0ebc81d5f0484b0839920c540cf556258b72ecd478738e216c32c05f924b2e1397af94bca5ba7e3 +DIST sbcl-1.1.15-x86-64-linux-binary.tar.bz2 9274852 SHA256 260a82e40eaff30f6805edcc6ebb05999cc9ad1369c5a68cdcd43e640d9990df SHA512 edbded004ac1dce43481ea96f9b0b3fa2f9d76a55c6d5387a9c958fb92006540d55cdb496bbff0d476adf6cf95b64a4662d3c9536e9c67d0e2feb9b9cf2c2fa7 WHIRLPOOL 46a26c10fc27ca804492b8e29a523200e45d0bfd19bbd91e80e1f7da751c7e8ab6c73dd1fc15b7d4c6c1e377a5c04d5033931546444e1bcfe527136be3484823 EBUILD sbcl-1.0.55-r1.ebuild 6161 SHA256 764c48efc217326b8a9862bcc4589df7c2e1ba2b164937a6c008bf7850f383fd SHA512 ff9c03ce7aa6f523efd4e4b6b41639cdafc45fa242dfabe59ef8c5d428bb9a6025b44420663ea38fdfc110b2ff84a13bf5bfc62f8a6a4ad65b20e13ac4e92164 WHIRLPOOL 3585987db968443527fb6d31f71c110638855e19915679d7a89ce9024c21e1c400fc7e4b1de2ca67b9aaded423e6d0b6552c09b160c4d9bff7aa92606ced36bd EBUILD sbcl-1.0.55-r2.ebuild 6230 SHA256 02574bec1fb07d17dd604daa7c4279a5125d0e9362247eaa2bde4ac55d0db607 SHA512 125165bf61e89a98f4796c792bc9c39dd8caa9595253bda3b2d50af762a5a597438966cbb5faa0d2e37563104b97185c88718be3d2df6a8fdb56af7bfe0d00c5 WHIRLPOOL 5f945702055282b0a989001f39b5ceb4de62ec750902018a3421562098298c405f23c855b2a00dd5a02b25aedfe3a92eab3de13a19de98670f15f2ebe6197a22 EBUILD sbcl-1.1.10.ebuild 6789 SHA256 3526bd647f352d15b55a0500c1218cf813d18534c6f5050b7bf55945a17ee306 SHA512 18e63a4d101533c82c7057f5de72dd000fed03d643df98a5405634300b158b78360878822eb2518b2803ac45280c8922b878bcde6f987372caced689c7426e7b WHIRLPOOL a5aaf72387404ebce876e51755166306b3ff093fa539b65d7520eed7764e569d778c9300c351608507a0ef2d877d66306f5047dc60dbebac4a9f4e4db3c202c1 EBUILD sbcl-1.1.11.ebuild 6784 SHA256 6c13a6a71e0dab20b7a9bba4befb00fefe5ad45b8bac7f1658f4864dba9df602 SHA512 5f29862a34e49b2fe746795c7c12a005670509ad437ec5a302546fae59c928e3d5275fb0bef200d418eeb50fb0f225ecc77d1d21311686c252f5eca00d9e660a WHIRLPOOL fe1033fb3d87bc6449627026a26855636949d6e2bba00889a719d81fe0e0b637620c1db7e690c0a260fe0d13fd78e675345558501ebdc593f6da714b3217a997 EBUILD sbcl-1.1.12.ebuild 6784 SHA256 47bb8bb75f94a9b7e54a184e100db79e7d440caad96b542873a0a6736d043e5c SHA512 49b483291e4c8e207fff4eafa31c883d65294239dd1f3e559d122fd0cd498998a378aa76aba914a6acf964acb7b9c428f19c2a704cdb0311f52890dc808e514f WHIRLPOOL 978b5e3bd8da569e3162acc59eb86553f38201fe221c3831977085834bc1248a5f7d6d6edb11e0dbafb863acae5e207ff0477b57e3b4600796fb876d264b94b4 EBUILD sbcl-1.1.14.ebuild 6886 SHA256 6590b2fc6bfab1d9b8f1cf280e72a01d1419ad4bf439319add534b271c747e83 SHA512 4b81f167cdc61ef4f0116f6a6fa95ce50a2e4909c81ed8e97a045bdca41babca8249742d7f6139439cd208aefb55c0781b3c258ab017d98bc58f7b0f29a9b4bd WHIRLPOOL 2ff2c18ef1c3a6d322b2f342a6f320043fbb2861555dbfb0e02692ebc830a323a4c95da0976af91b1633227c4f1362a77ba3ffd069e4e85edab1f8e6efe7ce46 -MISC ChangeLog 53360 SHA256 19b1a847104d3fd5704b576a33e83f9d71adabce1ac8f363a24aed2407a8da7c SHA512 31166225ca41806933ad3e7a3d01b992a46abbea127145574ccf1cd71881f0c3dc4c677c56f9d4bc2efbd797c4ec391758173a90f9f2723e16e1ffd0638d2460 WHIRLPOOL 18377e99df10977f11e2680866790022d97320eadcaec792cd87612541b37fcf00a268826874066cd36f41c3902e6a4b166ed87a74a5216101020603ef39e8c0 +EBUILD sbcl-1.1.15.ebuild 6886 SHA256 66da6a3f0d6c3c6ae713f5285de69bd82eb0cae3d73d40cfb54388ce3e046419 SHA512 07ef57b521b97933b2c47f33e33cf05566de98524e5e3c02148cc336b1946b5015bb258193d73c5f52b5c3046c7102db543d32073fdae0064796d4f27656a89d WHIRLPOOL a0f6dae5a08cf7a580dc003a260d1def659ffbe033a888e554d32c92e9329ffb8f9c638c205aae9af9bbbd0824fb87c3438dc01ff1c61e9ecd3f7d6fff0fd04c +MISC ChangeLog 53474 SHA256 cc007daee527906a0902333f05719ab23c8ce4539fdb9c5903e01dcde62035bf SHA512 d80c4053a9407e50671697f1fcc396cb1a320fa38048736aab6e64e4560561617bc8367e19f8bd1cc01b10e677bcf36c97b275a6f9aef57e971d777c150fbb9a WHIRLPOOL a88681d3712aa1c59ec080045d648dd6b1fb0d2a9d77208405aa63fb342a91e300fd11b2253e0730f07a25b9af79af6bd3c00a4998aadd75ff7873aa1d91d45a MISC metadata.xml 1676 SHA256 17fb0c325844368c649a311f15fbb53a87e5ef987021c52424ffa647745101f3 SHA512 54f12b8385602a6f26b35bb63cbfb0414788e899bc2f5240f60ce249d8ac914c1e236b8d66cee893eac1c3602661869a4333223fa4ce043bd284bde51fa99512 WHIRLPOOL 90a7306f698aa56ab618874f1d325bd3bb789961675d4b0728744abff152bfb6e8cb7303c3cc063782e0411ce27551527c313b404846dadbe2638c5ea086e2f1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iQJ8BAEBCABmBQJS0SSpXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +iQJ8BAEBCABmBQJS6QIaXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQwOEM0RURGNjY5QzVBNjMwRkU3REVCOTQz -QUZGQ0U5NzREMzRCRDhDAAoJEDr/zpdNNL2MCf4P/0M4qU2XEiLAGEBpA1VMnekb -dr4Q5KGI5iQLsHm7Nnuy+mrHu1MVIePhcKkNbjUVJRhrVJ1f5WzS6lV844JbpJ4Z -KbVnLrknDc/qE9DAefx5XiIyvyeAJACoyX57Vo0oWAgMzfc5CEo7FggOl96Gkh1b -YUgy2i4ZH3CCqKLeL4SYrZt+yebPQRwMxSdMM7Qh3lj1zIHxTFdf5RNwi3eA/Axj -KicsO58swg5yxDuO/THNkOrWjFrcb/Y0/vCdJoa5Ko3ATEKqCKyqT/0lCuFpRQ0g -Y5QDSdoRdRw/dW687zFLEWAApmjyI2+KPBX2J/WBHpSTBhMaHi59Uf9IqLyOAqK2 -A8x8pRQZNFrXEUJbnpOqOTI991BwCWd47KX9b6OcUnNWFMkaFwwhR8qw7yKR60Ik -hCJaJ7MTY7y+weHLyKQzyzWuloDZRtxFzLi7MPuIy1bTXwHfN9LDcBnJNAUiQJEw -SA6ipwuH7kOXunXDkxO3sjLhHBcdUuJM2LwstMPrauVF+mX/gfFGtGTWDqyzveV1 -w20qaOTKQgAYbOfQ752Pylh0M+eGdDXkYGxzoXJFu8yHlIF/jLiFeZKrycbTbJbn -485SG9cO8x1jB6raLpFurBk0rwURJ+SgtPAzOEm7rOvGmjbBeh9nUYGTTTZzcPZJ -8AAUAmuXIJ8MAgj4au7V -=UxM4 +QUZGQ0U5NzREMzRCRDhDAAoJEDr/zpdNNL2MDtoP/1hKyryuHHG73ENBxJGAg/Gh +J5nqJEJCiBzFpwY9Bgp0mq7Kl9NZwgtt+4qz/9q3WL+oaHs7VDUN9+H05n4PSyR/ +D+zsnd7g2yJ12l5BidElzLtN4ZIHTaZ92qsM2lA74RdB0Z0gdbJnqPCF4gHoP4o/ +cwyZw5gwzWhpm2GVzcF2/oQllOnxtSqbZkrKDUwYgDl9gmgIHKZq4UlvYPhHBunk +qRjtserOj6dfsHHQAOk1Dn3H2CgxvBLKqfnfqrxdQewJvRSQrjr033VmzNvpubmU +Zy1CGaf9zjLYpHvrpzIAeSRH9NdURY45r3Qli9AMlc0qgcZuv+TwYQBGbFNXOvwJ +PzfuWgdUkHpdCeN1/qKea4e1j+zPqebz1QROkKowjOwIgMHi9bZkt0dUJHL4VEgO +9+fDgkb9flhAAJTeA3LTRw4+S7N5BculRNjqOTlYgaBOugxJ1BuH/CcQpq0H3hLE +E0R2ao1E5lo2e1yK7/kGJDkkm6/Fq4C24AsGcCl+gdwajsZ9fpcGFxqEF/NNwxT2 +DEuHHKsF4vDbdBecmGJs4AB8B4IYtYn0LcL4aCgQU1qUenfQBeDwLNRmVYvOg1S/ +HM9htERb980JwBpBo2Uha+GUIU9ivFXBwwcUefiQfb6dwxFdP9AgRYldb4m8WG7W +LpJB3EB92yskWkkfk9xc +=HjQz -----END PGP SIGNATURE----- diff --git a/dev-lisp/sbcl/sbcl-1.1.15.ebuild b/dev-lisp/sbcl/sbcl-1.1.15.ebuild new file mode 100644 index 000000000000..99ecc8f5c066 --- /dev/null +++ b/dev-lisp/sbcl/sbcl-1.1.15.ebuild @@ -0,0 +1,207 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/sbcl-1.1.15.ebuild,v 1.1 2014/01/29 13:37:01 grozin Exp $ + +EAPI=5 +inherit multilib eutils flag-o-matic pax-utils + +#same order as http://www.sbcl.org/platform-table.html +BV_X86=1.0.58 +BV_AMD64=1.1.15 +BV_PPC=1.0.28 +BV_SPARC=1.0.28 +BV_ALPHA=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 + 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 )" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="debug doc source +threads +unicode zlib" + +CDEPEND=">=dev-lisp/asdf-2.33-r3:=" +DEPEND="${CDEPEND} + doc? ( sys-apps/texinfo >=media-gfx/graphviz-2.26.0 )" +RDEPEND="${CDEPEND} + elibc_glibc? ( >=sys-libs/glibc-2.3 || ( <sys-libs/glibc-2.6[nptl] >=sys-libs/glibc-2.6 ) )" + +# 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" + +# Prevent ASDF from using the system libraries +CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" +ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" + +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 "true" ":sb-ldb" + sbcl_feature "false" ":sb-test" + sbcl_feature "$(usep unicode)" ":sb-unicode" + sbcl_feature "$(usep zlib)" ":sb-core-compression" + sbcl_feature "$(usep debug)" ":sb-xref-for-internals" + cat >> "${CONFIG}" <<'EOF' + ) + list) +EOF + cat "${CONFIG}" +} + +src_unpack() { + unpack ${A} + mv sbcl-*-linux sbcl-binary || die + cd "${S}" +} + +src_prepare() { + epatch "${FILESDIR}"/gentoo-fix_install_man.patch + epatch "${FILESDIR}"/gentoo-fix_linux-os-c.patch + # bug #468482 + epatch "${FILESDIR}"/concurrency-test.patch + # bug #486552 + epatch "${FILESDIR}"/bsd-sockets-test.patch + + # To make the hardened compiler NOT compile with -fPIE -pie + if gcc-specs-pie ; then + einfo "Disabling PIE..." + epatch "${FILESDIR}"/gentoo-fix_nopie_for_hardened_toolchain.patch + fi + + cp /usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die + + 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 + sed "s,^time ,," -i make.sh || die + sed "s,/lib,/$(get_libdir),g" -i install.sh || die + # #define SBCL_HOME ... + sed "s,/usr/local/lib,/usr/$(get_libdir),g" -i src/runtime/runtime.c || die + + 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 + + if host-is-pax ; then + # To disable PaX on hardened systems + pax-mark -C "${bindir}"/src/runtime/sbcl + pax-mark -mr "${bindir}"/src/runtime/sbcl + + # Hack to disable PaX on second GENESIS stage + sed -i -e '/load/!s/^echo \/\/doing warm.*$/&\npaxctl -C \.\/src\/runtime\/sbcl\npaxctl -mprexs \.\/src\/runtime\/sbcl/' \ + "${S}"/make-target-2.sh || die "Cannot disable PaX on second GENESIS runtime" + 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}" \ + CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \ + ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \ + make -C doc/manual info html || die "Cannot build manual" + env - HOME="${T}" \ + CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \ + ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \ + make -C doc/internals info html || die "Cannot build internal docs" + fi +} + +src_test() { + ewarn "Unfortunately, it is known that some tests fail eg." + ewarn "run-program.impure.lisp. This is an issue of the upstream's" + ewarn "development and not of Gentoo's side. Please, before filing" + ewarn "any bug(s) search for older submissions. Thank you." + time ( 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 ASDF2 +(load "/etc/common-lisp/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}" || die + fi + + dodoc BUGS CREDITS INSTALL NEWS OPTIMIZATIONS PRINCIPLES README TLA TODO + + # install the SBCL source + if use source; then + ./clean.sh + cp -av src "${D}/usr/$(get_libdir)/sbcl/" || die + 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}" +} |