1 |
commit: db7321d5ef3f1bf97ed30d56e017d6653fd30d83 |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Nov 4 10:49:34 2021 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 4 10:49:34 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db7321d5 |
7 |
|
8 |
dev-lisp/sbcl: clean old versions |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org> |
12 |
|
13 |
dev-lisp/sbcl/Manifest | 6 - |
14 |
dev-lisp/sbcl/sbcl-2.1.5.ebuild | 238 ---------------------------------------- |
15 |
dev-lisp/sbcl/sbcl-2.1.6.ebuild | 238 ---------------------------------------- |
16 |
dev-lisp/sbcl/sbcl-2.1.7.ebuild | 238 ---------------------------------------- |
17 |
4 files changed, 720 deletions(-) |
18 |
|
19 |
diff --git a/dev-lisp/sbcl/Manifest b/dev-lisp/sbcl/Manifest |
20 |
index 4f3b0c8abcb..1f62c7d786c 100644 |
21 |
--- a/dev-lisp/sbcl/Manifest |
22 |
+++ b/dev-lisp/sbcl/Manifest |
23 |
@@ -18,11 +18,5 @@ DIST sbcl-1.4.8-x86-64-linux-binary.tar.bz2 10353701 BLAKE2B 5b56f46fbdb87f015ed |
24 |
DIST sbcl-1.4.9-source.tar.bz2 6051607 BLAKE2B 8abcaf73233ea1a23d47987b16554636dcf94acfbc7ab731f0730fdb4a8176593fb3ab52d9b25b3dd56753cd984f7e0eddb1585a142eb7ad1aa5e3e03d7b0ca9 SHA512 e0248f460f9737d47653dd520732062d2637813b550df356ecc90aa6d21fbdd74f03182d1e890c09c1da742f7d57b4fbd04a4e6dc36999aca51bb6c2952ac236 |
25 |
DIST sbcl-2.1.10-source.tar.bz2 6680771 BLAKE2B 9d427c2c4330ee9f675cad27e8a37b20f010f900a840dc7e878d0f2d703b7a0f8704b8ac3be1d6e191ffa933338702039e3c3d105160e3c8468c99bcd703989b SHA512 83c4064b0b99e673221abbc5fd8d6c463dd2368dac7438215f0b0f847fab3999f470d15fe5a6ed504983b80d9160771c3ccb1485e4c3c973be03634ca0d7678b |
26 |
DIST sbcl-2.1.10-x86-64-linux-binary.tar.bz2 10185352 BLAKE2B 48f55807411f4614b40c447081f45597ad8ec720b1903ff57625093c9fa3b915e7f0fa31a7295d5594c5bedd2ed2da84d498df99eaa10e85761cca07c7d30f6d SHA512 557323cf0dfc5bb0a1c4908e5b46371e6f01ad8c05513d03db3e66a4e4ad0ec5bd3c57fed252209dffb8bc2179404f7626a196af19a087187ad6c4f5ba9408bf |
27 |
-DIST sbcl-2.1.5-source.tar.bz2 6566902 BLAKE2B 3e98a3d996120baf7cbddbe595aacc07615cd8471e9bb87fc73e8cf0621988e5dd549a58425f7c569588833f9a4b1bbe43af40472fa9a287a3780e40e86536bd SHA512 5e208b3a1b3ff1a589c9ae0398e40086d979342c11fa7bb251797d0266618801b525dddb6998cebae3fc2a88547f7a71bdc43c5418f5edc2cf9bf699ed725334 |
28 |
-DIST sbcl-2.1.5-x86-64-linux-binary.tar.bz2 10155269 BLAKE2B 8456fbe477d6afc4becf4ec2fadb296e40532f02ea0ad5de61891cf68384450028e85e52d44164323c1a40b5f67c591114cd1a077de305b3f1b20484310bf5a6 SHA512 cb90c2bc6bed5f5f3af9831cd520580d4e8207ee45ae3572a17cf0da21563ce8e03d1c0e22099d05b750e0f76b2a0701918c80e25e2b7a9846d8cc5169f82f7c |
29 |
-DIST sbcl-2.1.6-source.tar.bz2 6579274 BLAKE2B bb3c915b1f3889575065d0737eaadb5a19b00748ab508d90bb30218c8ef09527ee2533271700b68fedb28030727cde86aaa7b7ed1d2e6b02cecc79b6e6ed0376 SHA512 fa8088e5275451863b9aa908c0718e03801340fc87c514caed8a67df6fd443a0cdc1eb90f90605c0de757c4be5e9e502a944c4856fea98d719f5135457ca41c7 |
30 |
-DIST sbcl-2.1.6-x86-64-linux-binary.tar.bz2 10106836 BLAKE2B d362f22402cfc183b6b8a9251e20d51672a4870bbc427e9f718bcfb02ae3e459f426b8f4bf4b568c864b56602e5d7b285ab5f1c5aece397385e17439934d23fa SHA512 3382829bfe6bd85b00eeaed04830de7e966d014dd626c7d5635c916a4fa9517f4404af4e5498cc6b4b8e00db9079e350db7cb6860c0c4a4921e99ba221f2ba6e |
31 |
-DIST sbcl-2.1.7-source.tar.bz2 6622050 BLAKE2B df464999381a4b2e563606a4a25bf00b72b74b3964e548f7bb4de6a43e4f6c3d00eefdc2b0c7e673bd58aff02725ae9af001b46a859320cf3c53b6f882eb44ce SHA512 52996bced71d003d7337c237b6078c6d7cece71a0e69ba77e2c735b9d0e92204e50a1e5eeaea946ca2adcc9c3a334b14693735817c0a19a4fbb4caf9cca3b52b |
32 |
-DIST sbcl-2.1.7-x86-64-linux-binary.tar.bz2 10117534 BLAKE2B 613356710b2fc80bd00f49ba0da1fd3f0a6fcf25b1343f70957800a41c46e89468646fa1800566fa06217c25976875a7c10910cbd279d0294c7297eea10cb991 SHA512 32b9c87d21d3bb431a52d36b8fb390e9f4e42bc2803a970a5bbf655e57341061385fa5465a70511c92fdfa4e69c683c2ec056768c4e44dc9305e1b2260be307a |
33 |
DIST sbcl-2.1.8-source.tar.bz2 6663139 BLAKE2B 3a1bdadfcda284c6f7c909f996bc9f9a5d0a1132a55b68d435d89138b2d144f48848d33f1c38d2b7728711660b59a0ee70e3d76f88f6528dc37e3661c7621f62 SHA512 0e2d839d262cb60b35a20558bb64b5bf4b4158dd8008c1efef74b99e300e4412b20fd9af99633ad5a0cc3c91bbfc34405ce7012d95195517d6b6f425904fb4d3 |
34 |
DIST sbcl-2.1.8-x86-64-linux-binary.tar.bz2 10118495 BLAKE2B 5fd53f4e491018f4abd98ef3026982d80777f8ef38e046078679e452a00b3fddecf65139f69d1c43e21c13e1ef9b061c8d89c09de2454376a0a4e9aea2ec90f0 SHA512 9415290c1cd7d4fcb2f4da689c341af3d52346e25059a118a06fc2dd24f622ed0a7f664adddba3adb2b0ceb07c6a49a3ac9dbacf2e326d5813c44d330a6fe258 |
35 |
|
36 |
diff --git a/dev-lisp/sbcl/sbcl-2.1.5.ebuild b/dev-lisp/sbcl/sbcl-2.1.5.ebuild |
37 |
deleted file mode 100644 |
38 |
index 31722af3e2b..00000000000 |
39 |
--- a/dev-lisp/sbcl/sbcl-2.1.5.ebuild |
40 |
+++ /dev/null |
41 |
@@ -1,238 +0,0 @@ |
42 |
-# Copyright 1999-2021 Gentoo Authors |
43 |
-# Distributed under the terms of the GNU General Public License v2 |
44 |
- |
45 |
-EAPI=6 |
46 |
- |
47 |
-inherit multilib flag-o-matic pax-utils toolchain-funcs |
48 |
- |
49 |
-#same order as http://www.sbcl.org/platform-table.html |
50 |
-BV_X86=1.4.3 |
51 |
-BV_AMD64=2.1.5 |
52 |
-BV_PPC=1.2.7 |
53 |
-BV_SPARC=1.0.28 |
54 |
-BV_ALPHA=1.0.28 |
55 |
-BV_ARM=1.4.11 |
56 |
-BV_ARM64=1.4.2 |
57 |
-BV_X64_MACOS=1.2.11 |
58 |
-BV_PPC_MACOS=1.0.47 |
59 |
-BV_X86_SOLARIS=1.2.7 |
60 |
-BV_X64_SOLARIS=1.2.7 |
61 |
-BV_SPARC_SOLARIS=1.0.23 |
62 |
- |
63 |
-DESCRIPTION="Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp" |
64 |
-HOMEPAGE="http://sbcl.sourceforge.net/" |
65 |
-SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2 |
66 |
- x86? ( mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 ) |
67 |
- amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 ) |
68 |
- ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2 ) |
69 |
- sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 ) |
70 |
- alpha? ( mirror://sourceforge/sbcl/${PN}-${BV_ALPHA}-alpha-linux-binary.tar.bz2 ) |
71 |
- arm? ( mirror://sourceforge/sbcl/${PN}-${BV_ARM}-armhf-linux-binary.tar.bz2 ) |
72 |
- arm64? ( mirror://sourceforge/sbcl/${PN}-${BV_ARM64}-arm64-linux-binary.tar.bz2 ) |
73 |
- x64-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_X64_MACOS}-x86-64-darwin-binary.tar.bz2 ) |
74 |
- ppc-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC_MACOS}-powerpc-darwin-binary.tar.bz2 ) |
75 |
- x86-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_X86_SOLARIS}-x86-solaris-binary.tar.bz2 ) |
76 |
- x64-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_X64_SOLARIS}-x86-64-solaris-binary.tar.bz2 ) |
77 |
- sparc-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC_SOLARIS}-sparc-solaris-binary.tar.bz2 )" |
78 |
- |
79 |
-LICENSE="MIT" |
80 |
-SLOT="0/${PV}" |
81 |
-KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris" |
82 |
-IUSE="debug doc source +threads +unicode zlib" |
83 |
- |
84 |
-CDEPEND=">=dev-lisp/asdf-3.3:=" |
85 |
-DEPEND="${CDEPEND} |
86 |
- doc? ( sys-apps/texinfo >=media-gfx/graphviz-2.26.0 )" |
87 |
-RDEPEND="${CDEPEND} |
88 |
- !prefix? ( elibc_glibc? ( >=sys-libs/glibc-2.6 ) )" |
89 |
- |
90 |
-# Disable warnings about executable stacks, as this won't be fixed soon by upstream |
91 |
-QA_EXECSTACK="usr/bin/sbcl" |
92 |
- |
93 |
-CONFIG="${S}/customize-target-features.lisp" |
94 |
-ENVD="${T}/50sbcl" |
95 |
- |
96 |
-# Prevent ASDF from using the system libraries |
97 |
-CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" |
98 |
-ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" |
99 |
- |
100 |
-usep() { |
101 |
- use ${1} && echo "true" || echo "false" |
102 |
-} |
103 |
- |
104 |
-sbcl_feature() { |
105 |
- echo "$( [[ ${1} == "true" ]] && echo "(enable ${2})" || echo "(disable ${2})")" >> "${CONFIG}" |
106 |
-} |
107 |
- |
108 |
-sbcl_apply_features() { |
109 |
- sed 's/^X//' > "${CONFIG}" <<-'EOF' |
110 |
- (lambda (list) |
111 |
- X (flet ((enable (x) (pushnew x list)) |
112 |
- X (disable (x) (setf list (remove x list)))) |
113 |
- EOF |
114 |
- if use x86 || use amd64; then |
115 |
- sbcl_feature "$(usep threads)" ":sb-thread" |
116 |
- fi |
117 |
- sbcl_feature "true" ":sb-ldb" |
118 |
- sbcl_feature "false" ":sb-test" |
119 |
- sbcl_feature "$(usep unicode)" ":sb-unicode" |
120 |
- sbcl_feature "$(usep zlib)" ":sb-core-compression" |
121 |
- sbcl_feature "$(usep debug)" ":sb-xref-for-internals" |
122 |
- sed 's/^X//' >> "${CONFIG}" <<-'EOF' |
123 |
- X ) |
124 |
- X list) |
125 |
- EOF |
126 |
- cat "${CONFIG}" |
127 |
-} |
128 |
- |
129 |
-src_unpack() { |
130 |
- unpack ${A} |
131 |
- mv sbcl-*-* sbcl-binary || die |
132 |
- cd "${S}" |
133 |
-} |
134 |
- |
135 |
-src_prepare() { |
136 |
- # bug #468482 |
137 |
- eapply "${FILESDIR}"/concurrency-test-2.0.1.patch |
138 |
- # bugs #486552, #527666, #517004 |
139 |
- eapply "${FILESDIR}"/bsd-sockets-test-2.0.5.patch |
140 |
- # bugs #560276, #561018 |
141 |
- eapply "${FILESDIR}"/sb-posix-test-1.2.15.patch |
142 |
- # bug #767742 |
143 |
- eapply "${FILESDIR}"/etags-2.1.0.patch |
144 |
- |
145 |
- eapply "${FILESDIR}"/verbose-build-2.0.3.patch |
146 |
- |
147 |
- eapply_user |
148 |
- |
149 |
- # Make sure the *FLAGS variables are sane. |
150 |
- # sbcl needs symbols in resulting binaries, so building with the -s linker flag will fail. |
151 |
- strip-unsupported-flags |
152 |
- filter-flags -fomit-frame-pointer -Wl,-s |
153 |
- filter-ldflags -s |
154 |
- |
155 |
- # original bugs #526194, #620532 |
156 |
- # this broke no-pie default builds, c.f. bug #632670 |
157 |
- # Pass CFLAGS down by appending our value, to let users override |
158 |
- # the default values. |
159 |
- # Keep passing LDFLAGS down via the LINKFLAGS variable. |
160 |
- sed -e "s@\(CFLAGS += -g .*\)\$@\1 ${CFLAGS}@" \ |
161 |
- -e "s@LINKFLAGS += -g\$@LINKFLAGS += ${LDFLAGS}@" \ |
162 |
- -i src/runtime/GNUmakefile || die |
163 |
- |
164 |
- sed -e "s@SBCL_PREFIX=\"/usr/local\"@SBCL_PREFIX=\"${EPREFIX}/usr\"@" \ |
165 |
- -i make-config.sh || die |
166 |
- |
167 |
- # Use installed ASDF version |
168 |
- cp "${EPREFIX}"/usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die |
169 |
- # Avoid installation of ASDF info page. See bug #605752 |
170 |
- sed '/INFOFILES/s/asdf.info//' -i doc/manual/Makefile || die |
171 |
- |
172 |
- use source && sed 's%"$(BUILD_ROOT)%$(MODULE).lisp "$(BUILD_ROOT)%' -i contrib/vanilla-module.mk |
173 |
- |
174 |
- # Some shells(such as dash) don't have "time" as builtin |
175 |
- # and we don't want to DEPEND on sys-process/time |
176 |
- sed "s,^time ,," -i make.sh || die |
177 |
- sed "s,/lib,/$(get_libdir),g" -i install.sh || die |
178 |
- # #define SBCL_HOME ... |
179 |
- sed "s,/usr/local/lib,${EPREFIX}/usr/$(get_libdir),g" -i src/runtime/runtime.c || die |
180 |
- # change location of /etc/sbclrc ... |
181 |
- sed "s,/etc/sbclrc,${EPREFIX}/etc/sbclrc,g" -i src/code/toplevel.lisp || die |
182 |
- |
183 |
- find . -type f -name .cvsignore -delete |
184 |
-} |
185 |
- |
186 |
-src_configure() { |
187 |
- # customizing SBCL version as per |
188 |
- # http://sbcl.cvs.sourceforge.net/sbcl/sbcl/doc/PACKAGING-SBCL.txt?view=markup |
189 |
- echo -e ";;; Auto-generated by Gentoo\n\"gentoo-${PR}\"" > branch-version.lisp-expr |
190 |
- |
191 |
- # applying customizations |
192 |
- sbcl_apply_features |
193 |
-} |
194 |
- |
195 |
-src_compile() { |
196 |
- local bindir="${WORKDIR}"/sbcl-binary |
197 |
- |
198 |
- # clear the environment to get rid of non-ASCII strings, see bug #174702 |
199 |
- # set HOME for paludis |
200 |
- env - HOME="${T}" PATH="${PATH}" \ |
201 |
- CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" \ |
202 |
- CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" \ |
203 |
- GNUMAKE=make ./make.sh \ |
204 |
- "sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" \ |
205 |
- || die "make failed" |
206 |
- |
207 |
- # need to set HOME because libpango(used by graphviz) complains about it |
208 |
- if use doc; then |
209 |
- env - HOME="${T}" PATH="${PATH}" \ |
210 |
- CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \ |
211 |
- ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \ |
212 |
- make -C doc/manual info html || die "Cannot build manual" |
213 |
- env - HOME="${T}" PATH="${PATH}" \ |
214 |
- CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \ |
215 |
- ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \ |
216 |
- make -C doc/internals info html || die "Cannot build internal docs" |
217 |
- fi |
218 |
-} |
219 |
- |
220 |
-src_test() { |
221 |
- ewarn "Unfortunately, it is known that some tests fail eg." |
222 |
- ewarn "run-program.impure.lisp. This is an issue of the upstream's" |
223 |
- ewarn "development and not of Gentoo's side. Please, before filing" |
224 |
- ewarn "any bug(s) search for older submissions. Thank you." |
225 |
- time ( cd tests && sh run-tests.sh ) |
226 |
-} |
227 |
- |
228 |
-src_install() { |
229 |
- # install system-wide initfile |
230 |
- dodir /etc/ |
231 |
- sed 's/^X//' > "${ED}"/etc/sbclrc <<-EOF |
232 |
- ;;; The following is required if you want source location functions to |
233 |
- ;;; work in SLIME, for example. |
234 |
- X |
235 |
- (setf (logical-pathname-translations "SYS") |
236 |
- X '(("SYS:SRC;**;*.*.*" #p"${EPREFIX}/usr/$(get_libdir)/sbcl/src/**/*.*") |
237 |
- X ("SYS:CONTRIB;**;*.*.*" #p"${EPREFIX}/usr/$(get_libdir)/sbcl/**/*.*"))) |
238 |
- X |
239 |
- ;;; Setup ASDF2 |
240 |
- (load "${EPREFIX}/etc/common-lisp/gentoo-init.lisp") |
241 |
- EOF |
242 |
- |
243 |
- # Install documentation |
244 |
- unset SBCL_HOME |
245 |
- INSTALL_ROOT="${ED}/usr" LIB_DIR="${EPREFIX}/usr/$(get_libdir)" DOC_DIR="${ED}/usr/share/doc/${PF}" \ |
246 |
- sh install.sh || die "install.sh failed" |
247 |
- |
248 |
- # bug #517008 |
249 |
- pax-mark -mr "${D}"/usr/bin/sbcl |
250 |
- |
251 |
- # rm empty directories lest paludis complain about this |
252 |
- find "${ED}" -empty -type d -exec rmdir -v {} + |
253 |
- |
254 |
- if use doc; then |
255 |
- dodoc -r doc/internals/sbcl-internals |
256 |
- |
257 |
- doinfo doc/manual/*.info* |
258 |
- doinfo doc/internals/sbcl-internals.info |
259 |
- |
260 |
- docinto internals-notes |
261 |
- dodoc doc/internals-notes/* |
262 |
- else |
263 |
- rm -Rv "${ED}/usr/share/doc/${PF}" || die |
264 |
- fi |
265 |
- |
266 |
- # install the SBCL source |
267 |
- if use source; then |
268 |
- ./clean.sh |
269 |
- cp -av src "${ED}/usr/$(get_libdir)/sbcl/" || die |
270 |
- for d in contrib/*/; do |
271 |
- cp -av "$d" "${ED}/usr/$(get_libdir)/sbcl/" || die |
272 |
- done |
273 |
- fi |
274 |
- |
275 |
- # necessary for running newly-saved images |
276 |
- echo "SBCL_HOME=${EPREFIX}/usr/$(get_libdir)/${PN}" > "${ENVD}" |
277 |
- echo "SBCL_SOURCE_ROOT=${EPREFIX}/usr/$(get_libdir)/${PN}/src" >> "${ENVD}" |
278 |
- doenvd "${ENVD}" |
279 |
-} |
280 |
|
281 |
diff --git a/dev-lisp/sbcl/sbcl-2.1.6.ebuild b/dev-lisp/sbcl/sbcl-2.1.6.ebuild |
282 |
deleted file mode 100644 |
283 |
index 9d2f456fe5b..00000000000 |
284 |
--- a/dev-lisp/sbcl/sbcl-2.1.6.ebuild |
285 |
+++ /dev/null |
286 |
@@ -1,238 +0,0 @@ |
287 |
-# Copyright 1999-2021 Gentoo Authors |
288 |
-# Distributed under the terms of the GNU General Public License v2 |
289 |
- |
290 |
-EAPI=6 |
291 |
- |
292 |
-inherit multilib flag-o-matic pax-utils toolchain-funcs |
293 |
- |
294 |
-#same order as http://www.sbcl.org/platform-table.html |
295 |
-BV_X86=1.4.3 |
296 |
-BV_AMD64=2.1.6 |
297 |
-BV_PPC=1.2.7 |
298 |
-BV_SPARC=1.0.28 |
299 |
-BV_ALPHA=1.0.28 |
300 |
-BV_ARM=1.4.11 |
301 |
-BV_ARM64=1.4.2 |
302 |
-BV_X64_MACOS=1.2.11 |
303 |
-BV_PPC_MACOS=1.0.47 |
304 |
-BV_X86_SOLARIS=1.2.7 |
305 |
-BV_X64_SOLARIS=1.2.7 |
306 |
-BV_SPARC_SOLARIS=1.0.23 |
307 |
- |
308 |
-DESCRIPTION="Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp" |
309 |
-HOMEPAGE="http://sbcl.sourceforge.net/" |
310 |
-SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2 |
311 |
- x86? ( mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 ) |
312 |
- amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 ) |
313 |
- ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2 ) |
314 |
- sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 ) |
315 |
- alpha? ( mirror://sourceforge/sbcl/${PN}-${BV_ALPHA}-alpha-linux-binary.tar.bz2 ) |
316 |
- arm? ( mirror://sourceforge/sbcl/${PN}-${BV_ARM}-armhf-linux-binary.tar.bz2 ) |
317 |
- arm64? ( mirror://sourceforge/sbcl/${PN}-${BV_ARM64}-arm64-linux-binary.tar.bz2 ) |
318 |
- x64-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_X64_MACOS}-x86-64-darwin-binary.tar.bz2 ) |
319 |
- ppc-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC_MACOS}-powerpc-darwin-binary.tar.bz2 ) |
320 |
- x86-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_X86_SOLARIS}-x86-solaris-binary.tar.bz2 ) |
321 |
- x64-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_X64_SOLARIS}-x86-64-solaris-binary.tar.bz2 ) |
322 |
- sparc-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC_SOLARIS}-sparc-solaris-binary.tar.bz2 )" |
323 |
- |
324 |
-LICENSE="MIT" |
325 |
-SLOT="0/${PV}" |
326 |
-KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris" |
327 |
-IUSE="debug doc source +threads +unicode zlib" |
328 |
- |
329 |
-CDEPEND=">=dev-lisp/asdf-3.3:=" |
330 |
-DEPEND="${CDEPEND} |
331 |
- doc? ( sys-apps/texinfo >=media-gfx/graphviz-2.26.0 )" |
332 |
-RDEPEND="${CDEPEND} |
333 |
- !prefix? ( elibc_glibc? ( >=sys-libs/glibc-2.6 ) )" |
334 |
- |
335 |
-# Disable warnings about executable stacks, as this won't be fixed soon by upstream |
336 |
-QA_EXECSTACK="usr/bin/sbcl" |
337 |
- |
338 |
-CONFIG="${S}/customize-target-features.lisp" |
339 |
-ENVD="${T}/50sbcl" |
340 |
- |
341 |
-# Prevent ASDF from using the system libraries |
342 |
-CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" |
343 |
-ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" |
344 |
- |
345 |
-usep() { |
346 |
- use ${1} && echo "true" || echo "false" |
347 |
-} |
348 |
- |
349 |
-sbcl_feature() { |
350 |
- echo "$( [[ ${1} == "true" ]] && echo "(enable ${2})" || echo "(disable ${2})")" >> "${CONFIG}" |
351 |
-} |
352 |
- |
353 |
-sbcl_apply_features() { |
354 |
- sed 's/^X//' > "${CONFIG}" <<-'EOF' |
355 |
- (lambda (list) |
356 |
- X (flet ((enable (x) (pushnew x list)) |
357 |
- X (disable (x) (setf list (remove x list)))) |
358 |
- EOF |
359 |
- if use x86 || use amd64; then |
360 |
- sbcl_feature "$(usep threads)" ":sb-thread" |
361 |
- fi |
362 |
- sbcl_feature "true" ":sb-ldb" |
363 |
- sbcl_feature "false" ":sb-test" |
364 |
- sbcl_feature "$(usep unicode)" ":sb-unicode" |
365 |
- sbcl_feature "$(usep zlib)" ":sb-core-compression" |
366 |
- sbcl_feature "$(usep debug)" ":sb-xref-for-internals" |
367 |
- sed 's/^X//' >> "${CONFIG}" <<-'EOF' |
368 |
- X ) |
369 |
- X list) |
370 |
- EOF |
371 |
- cat "${CONFIG}" |
372 |
-} |
373 |
- |
374 |
-src_unpack() { |
375 |
- unpack ${A} |
376 |
- mv sbcl-*-* sbcl-binary || die |
377 |
- cd "${S}" |
378 |
-} |
379 |
- |
380 |
-src_prepare() { |
381 |
- # bug #468482 |
382 |
- eapply "${FILESDIR}"/concurrency-test-2.0.1.patch |
383 |
- # bugs #486552, #527666, #517004 |
384 |
- eapply "${FILESDIR}"/bsd-sockets-test-2.0.5.patch |
385 |
- # bugs #560276, #561018 |
386 |
- eapply "${FILESDIR}"/sb-posix-test-1.2.15.patch |
387 |
- # bug #767742 |
388 |
- eapply "${FILESDIR}"/etags-2.1.0.patch |
389 |
- |
390 |
- eapply "${FILESDIR}"/verbose-build-2.0.3.patch |
391 |
- |
392 |
- eapply_user |
393 |
- |
394 |
- # Make sure the *FLAGS variables are sane. |
395 |
- # sbcl needs symbols in resulting binaries, so building with the -s linker flag will fail. |
396 |
- strip-unsupported-flags |
397 |
- filter-flags -fomit-frame-pointer -Wl,-s |
398 |
- filter-ldflags -s |
399 |
- |
400 |
- # original bugs #526194, #620532 |
401 |
- # this broke no-pie default builds, c.f. bug #632670 |
402 |
- # Pass CFLAGS down by appending our value, to let users override |
403 |
- # the default values. |
404 |
- # Keep passing LDFLAGS down via the LINKFLAGS variable. |
405 |
- sed -e "s@\(CFLAGS += -g .*\)\$@\1 ${CFLAGS}@" \ |
406 |
- -e "s@LINKFLAGS += -g\$@LINKFLAGS += ${LDFLAGS}@" \ |
407 |
- -i src/runtime/GNUmakefile || die |
408 |
- |
409 |
- sed -e "s@SBCL_PREFIX=\"/usr/local\"@SBCL_PREFIX=\"${EPREFIX}/usr\"@" \ |
410 |
- -i make-config.sh || die |
411 |
- |
412 |
- # Use installed ASDF version |
413 |
- cp "${EPREFIX}"/usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die |
414 |
- # Avoid installation of ASDF info page. See bug #605752 |
415 |
- sed '/INFOFILES/s/asdf.info//' -i doc/manual/Makefile || die |
416 |
- |
417 |
- use source && sed 's%"$(BUILD_ROOT)%$(MODULE).lisp "$(BUILD_ROOT)%' -i contrib/vanilla-module.mk |
418 |
- |
419 |
- # Some shells(such as dash) don't have "time" as builtin |
420 |
- # and we don't want to DEPEND on sys-process/time |
421 |
- sed "s,^time ,," -i make.sh || die |
422 |
- sed "s,/lib,/$(get_libdir),g" -i install.sh || die |
423 |
- # #define SBCL_HOME ... |
424 |
- sed "s,/usr/local/lib,${EPREFIX}/usr/$(get_libdir),g" -i src/runtime/runtime.c || die |
425 |
- # change location of /etc/sbclrc ... |
426 |
- sed "s,/etc/sbclrc,${EPREFIX}/etc/sbclrc,g" -i src/code/toplevel.lisp || die |
427 |
- |
428 |
- find . -type f -name .cvsignore -delete |
429 |
-} |
430 |
- |
431 |
-src_configure() { |
432 |
- # customizing SBCL version as per |
433 |
- # http://sbcl.cvs.sourceforge.net/sbcl/sbcl/doc/PACKAGING-SBCL.txt?view=markup |
434 |
- echo -e ";;; Auto-generated by Gentoo\n\"gentoo-${PR}\"" > branch-version.lisp-expr |
435 |
- |
436 |
- # applying customizations |
437 |
- sbcl_apply_features |
438 |
-} |
439 |
- |
440 |
-src_compile() { |
441 |
- local bindir="${WORKDIR}"/sbcl-binary |
442 |
- |
443 |
- # clear the environment to get rid of non-ASCII strings, see bug #174702 |
444 |
- # set HOME for paludis |
445 |
- env - HOME="${T}" PATH="${PATH}" \ |
446 |
- CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" \ |
447 |
- CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" \ |
448 |
- GNUMAKE=make ./make.sh \ |
449 |
- "sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" \ |
450 |
- || die "make failed" |
451 |
- |
452 |
- # need to set HOME because libpango(used by graphviz) complains about it |
453 |
- if use doc; then |
454 |
- env - HOME="${T}" PATH="${PATH}" \ |
455 |
- CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \ |
456 |
- ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \ |
457 |
- make -C doc/manual info html || die "Cannot build manual" |
458 |
- env - HOME="${T}" PATH="${PATH}" \ |
459 |
- CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \ |
460 |
- ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \ |
461 |
- make -C doc/internals info html || die "Cannot build internal docs" |
462 |
- fi |
463 |
-} |
464 |
- |
465 |
-src_test() { |
466 |
- ewarn "Unfortunately, it is known that some tests fail eg." |
467 |
- ewarn "run-program.impure.lisp. This is an issue of the upstream's" |
468 |
- ewarn "development and not of Gentoo's side. Please, before filing" |
469 |
- ewarn "any bug(s) search for older submissions. Thank you." |
470 |
- time ( cd tests && sh run-tests.sh ) |
471 |
-} |
472 |
- |
473 |
-src_install() { |
474 |
- # install system-wide initfile |
475 |
- dodir /etc/ |
476 |
- sed 's/^X//' > "${ED}"/etc/sbclrc <<-EOF |
477 |
- ;;; The following is required if you want source location functions to |
478 |
- ;;; work in SLIME, for example. |
479 |
- X |
480 |
- (setf (logical-pathname-translations "SYS") |
481 |
- X '(("SYS:SRC;**;*.*.*" #p"${EPREFIX}/usr/$(get_libdir)/sbcl/src/**/*.*") |
482 |
- X ("SYS:CONTRIB;**;*.*.*" #p"${EPREFIX}/usr/$(get_libdir)/sbcl/**/*.*"))) |
483 |
- X |
484 |
- ;;; Setup ASDF2 |
485 |
- (load "${EPREFIX}/etc/common-lisp/gentoo-init.lisp") |
486 |
- EOF |
487 |
- |
488 |
- # Install documentation |
489 |
- unset SBCL_HOME |
490 |
- INSTALL_ROOT="${ED}/usr" LIB_DIR="${EPREFIX}/usr/$(get_libdir)" DOC_DIR="${ED}/usr/share/doc/${PF}" \ |
491 |
- sh install.sh || die "install.sh failed" |
492 |
- |
493 |
- # bug #517008 |
494 |
- pax-mark -mr "${D}"/usr/bin/sbcl |
495 |
- |
496 |
- # rm empty directories lest paludis complain about this |
497 |
- find "${ED}" -empty -type d -exec rmdir -v {} + |
498 |
- |
499 |
- if use doc; then |
500 |
- dodoc -r doc/internals/sbcl-internals |
501 |
- |
502 |
- doinfo doc/manual/*.info* |
503 |
- doinfo doc/internals/sbcl-internals.info |
504 |
- |
505 |
- docinto internals-notes |
506 |
- dodoc doc/internals-notes/* |
507 |
- else |
508 |
- rm -Rv "${ED}/usr/share/doc/${PF}" || die |
509 |
- fi |
510 |
- |
511 |
- # install the SBCL source |
512 |
- if use source; then |
513 |
- ./clean.sh |
514 |
- cp -av src "${ED}/usr/$(get_libdir)/sbcl/" || die |
515 |
- for d in contrib/*/; do |
516 |
- cp -av "$d" "${ED}/usr/$(get_libdir)/sbcl/" || die |
517 |
- done |
518 |
- fi |
519 |
- |
520 |
- # necessary for running newly-saved images |
521 |
- echo "SBCL_HOME=${EPREFIX}/usr/$(get_libdir)/${PN}" > "${ENVD}" |
522 |
- echo "SBCL_SOURCE_ROOT=${EPREFIX}/usr/$(get_libdir)/${PN}/src" >> "${ENVD}" |
523 |
- doenvd "${ENVD}" |
524 |
-} |
525 |
|
526 |
diff --git a/dev-lisp/sbcl/sbcl-2.1.7.ebuild b/dev-lisp/sbcl/sbcl-2.1.7.ebuild |
527 |
deleted file mode 100644 |
528 |
index cee2be62996..00000000000 |
529 |
--- a/dev-lisp/sbcl/sbcl-2.1.7.ebuild |
530 |
+++ /dev/null |
531 |
@@ -1,238 +0,0 @@ |
532 |
-# Copyright 1999-2021 Gentoo Authors |
533 |
-# Distributed under the terms of the GNU General Public License v2 |
534 |
- |
535 |
-EAPI=6 |
536 |
- |
537 |
-inherit multilib flag-o-matic pax-utils toolchain-funcs |
538 |
- |
539 |
-#same order as http://www.sbcl.org/platform-table.html |
540 |
-BV_X86=1.4.3 |
541 |
-BV_AMD64=2.1.7 |
542 |
-BV_PPC=1.2.7 |
543 |
-BV_SPARC=1.0.28 |
544 |
-BV_ALPHA=1.0.28 |
545 |
-BV_ARM=1.4.11 |
546 |
-BV_ARM64=1.4.2 |
547 |
-BV_X64_MACOS=1.2.11 |
548 |
-BV_PPC_MACOS=1.0.47 |
549 |
-BV_X86_SOLARIS=1.2.7 |
550 |
-BV_X64_SOLARIS=1.2.7 |
551 |
-BV_SPARC_SOLARIS=1.0.23 |
552 |
- |
553 |
-DESCRIPTION="Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp" |
554 |
-HOMEPAGE="http://sbcl.sourceforge.net/" |
555 |
-SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2 |
556 |
- x86? ( mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 ) |
557 |
- amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 ) |
558 |
- ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2 ) |
559 |
- sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 ) |
560 |
- alpha? ( mirror://sourceforge/sbcl/${PN}-${BV_ALPHA}-alpha-linux-binary.tar.bz2 ) |
561 |
- arm? ( mirror://sourceforge/sbcl/${PN}-${BV_ARM}-armhf-linux-binary.tar.bz2 ) |
562 |
- arm64? ( mirror://sourceforge/sbcl/${PN}-${BV_ARM64}-arm64-linux-binary.tar.bz2 ) |
563 |
- x64-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_X64_MACOS}-x86-64-darwin-binary.tar.bz2 ) |
564 |
- ppc-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC_MACOS}-powerpc-darwin-binary.tar.bz2 ) |
565 |
- x86-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_X86_SOLARIS}-x86-solaris-binary.tar.bz2 ) |
566 |
- x64-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_X64_SOLARIS}-x86-64-solaris-binary.tar.bz2 ) |
567 |
- sparc-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC_SOLARIS}-sparc-solaris-binary.tar.bz2 )" |
568 |
- |
569 |
-LICENSE="MIT" |
570 |
-SLOT="0/${PV}" |
571 |
-KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris" |
572 |
-IUSE="debug doc source +threads +unicode zlib" |
573 |
- |
574 |
-CDEPEND=">=dev-lisp/asdf-3.3:=" |
575 |
-DEPEND="${CDEPEND} |
576 |
- doc? ( sys-apps/texinfo >=media-gfx/graphviz-2.26.0 )" |
577 |
-RDEPEND="${CDEPEND} |
578 |
- !prefix? ( elibc_glibc? ( >=sys-libs/glibc-2.6 ) )" |
579 |
- |
580 |
-# Disable warnings about executable stacks, as this won't be fixed soon by upstream |
581 |
-QA_EXECSTACK="usr/bin/sbcl" |
582 |
- |
583 |
-CONFIG="${S}/customize-target-features.lisp" |
584 |
-ENVD="${T}/50sbcl" |
585 |
- |
586 |
-# Prevent ASDF from using the system libraries |
587 |
-CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" |
588 |
-ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" |
589 |
- |
590 |
-usep() { |
591 |
- use ${1} && echo "true" || echo "false" |
592 |
-} |
593 |
- |
594 |
-sbcl_feature() { |
595 |
- echo "$( [[ ${1} == "true" ]] && echo "(enable ${2})" || echo "(disable ${2})")" >> "${CONFIG}" |
596 |
-} |
597 |
- |
598 |
-sbcl_apply_features() { |
599 |
- sed 's/^X//' > "${CONFIG}" <<-'EOF' |
600 |
- (lambda (list) |
601 |
- X (flet ((enable (x) (pushnew x list)) |
602 |
- X (disable (x) (setf list (remove x list)))) |
603 |
- EOF |
604 |
- if use x86 || use amd64; then |
605 |
- sbcl_feature "$(usep threads)" ":sb-thread" |
606 |
- fi |
607 |
- sbcl_feature "true" ":sb-ldb" |
608 |
- sbcl_feature "false" ":sb-test" |
609 |
- sbcl_feature "$(usep unicode)" ":sb-unicode" |
610 |
- sbcl_feature "$(usep zlib)" ":sb-core-compression" |
611 |
- sbcl_feature "$(usep debug)" ":sb-xref-for-internals" |
612 |
- sed 's/^X//' >> "${CONFIG}" <<-'EOF' |
613 |
- X ) |
614 |
- X list) |
615 |
- EOF |
616 |
- cat "${CONFIG}" |
617 |
-} |
618 |
- |
619 |
-src_unpack() { |
620 |
- unpack ${A} |
621 |
- mv sbcl-*-* sbcl-binary || die |
622 |
- cd "${S}" |
623 |
-} |
624 |
- |
625 |
-src_prepare() { |
626 |
- # bug #468482 |
627 |
- eapply "${FILESDIR}"/concurrency-test-2.0.1.patch |
628 |
- # bugs #486552, #527666, #517004 |
629 |
- eapply "${FILESDIR}"/bsd-sockets-test-2.0.5.patch |
630 |
- # bugs #560276, #561018 |
631 |
- eapply "${FILESDIR}"/sb-posix-test-1.2.15.patch |
632 |
- # bug #767742 |
633 |
- eapply "${FILESDIR}"/etags-2.1.0.patch |
634 |
- |
635 |
- eapply "${FILESDIR}"/verbose-build-2.0.3.patch |
636 |
- |
637 |
- eapply_user |
638 |
- |
639 |
- # Make sure the *FLAGS variables are sane. |
640 |
- # sbcl needs symbols in resulting binaries, so building with the -s linker flag will fail. |
641 |
- strip-unsupported-flags |
642 |
- filter-flags -fomit-frame-pointer -Wl,-s |
643 |
- filter-ldflags -s |
644 |
- |
645 |
- # original bugs #526194, #620532 |
646 |
- # this broke no-pie default builds, c.f. bug #632670 |
647 |
- # Pass CFLAGS down by appending our value, to let users override |
648 |
- # the default values. |
649 |
- # Keep passing LDFLAGS down via the LINKFLAGS variable. |
650 |
- sed -e "s@\(CFLAGS += -g .*\)\$@\1 ${CFLAGS}@" \ |
651 |
- -e "s@LINKFLAGS += -g\$@LINKFLAGS += ${LDFLAGS}@" \ |
652 |
- -i src/runtime/GNUmakefile || die |
653 |
- |
654 |
- sed -e "s@SBCL_PREFIX=\"/usr/local\"@SBCL_PREFIX=\"${EPREFIX}/usr\"@" \ |
655 |
- -i make-config.sh || die |
656 |
- |
657 |
- # Use installed ASDF version |
658 |
- cp "${EPREFIX}"/usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die |
659 |
- # Avoid installation of ASDF info page. See bug #605752 |
660 |
- sed '/INFOFILES/s/asdf.info//' -i doc/manual/Makefile || die |
661 |
- |
662 |
- use source && sed 's%"$(BUILD_ROOT)%$(MODULE).lisp "$(BUILD_ROOT)%' -i contrib/vanilla-module.mk |
663 |
- |
664 |
- # Some shells(such as dash) don't have "time" as builtin |
665 |
- # and we don't want to DEPEND on sys-process/time |
666 |
- sed "s,^time ,," -i make.sh || die |
667 |
- sed "s,/lib,/$(get_libdir),g" -i install.sh || die |
668 |
- # #define SBCL_HOME ... |
669 |
- sed "s,/usr/local/lib,${EPREFIX}/usr/$(get_libdir),g" -i src/runtime/runtime.c || die |
670 |
- # change location of /etc/sbclrc ... |
671 |
- sed "s,/etc/sbclrc,${EPREFIX}/etc/sbclrc,g" -i src/code/toplevel.lisp || die |
672 |
- |
673 |
- find . -type f -name .cvsignore -delete |
674 |
-} |
675 |
- |
676 |
-src_configure() { |
677 |
- # customizing SBCL version as per |
678 |
- # http://sbcl.cvs.sourceforge.net/sbcl/sbcl/doc/PACKAGING-SBCL.txt?view=markup |
679 |
- echo -e ";;; Auto-generated by Gentoo\n\"gentoo-${PR}\"" > branch-version.lisp-expr |
680 |
- |
681 |
- # applying customizations |
682 |
- sbcl_apply_features |
683 |
-} |
684 |
- |
685 |
-src_compile() { |
686 |
- local bindir="${WORKDIR}"/sbcl-binary |
687 |
- |
688 |
- # clear the environment to get rid of non-ASCII strings, see bug #174702 |
689 |
- # set HOME for paludis |
690 |
- env - HOME="${T}" PATH="${PATH}" \ |
691 |
- CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" \ |
692 |
- CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" \ |
693 |
- GNUMAKE=make ./make.sh \ |
694 |
- "sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" \ |
695 |
- || die "make failed" |
696 |
- |
697 |
- # need to set HOME because libpango(used by graphviz) complains about it |
698 |
- if use doc; then |
699 |
- env - HOME="${T}" PATH="${PATH}" \ |
700 |
- CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \ |
701 |
- ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \ |
702 |
- make -C doc/manual info html || die "Cannot build manual" |
703 |
- env - HOME="${T}" PATH="${PATH}" \ |
704 |
- CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \ |
705 |
- ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \ |
706 |
- make -C doc/internals info html || die "Cannot build internal docs" |
707 |
- fi |
708 |
-} |
709 |
- |
710 |
-src_test() { |
711 |
- ewarn "Unfortunately, it is known that some tests fail eg." |
712 |
- ewarn "run-program.impure.lisp. This is an issue of the upstream's" |
713 |
- ewarn "development and not of Gentoo's side. Please, before filing" |
714 |
- ewarn "any bug(s) search for older submissions. Thank you." |
715 |
- time ( cd tests && sh run-tests.sh ) |
716 |
-} |
717 |
- |
718 |
-src_install() { |
719 |
- # install system-wide initfile |
720 |
- dodir /etc/ |
721 |
- sed 's/^X//' > "${ED}"/etc/sbclrc <<-EOF |
722 |
- ;;; The following is required if you want source location functions to |
723 |
- ;;; work in SLIME, for example. |
724 |
- X |
725 |
- (setf (logical-pathname-translations "SYS") |
726 |
- X '(("SYS:SRC;**;*.*.*" #p"${EPREFIX}/usr/$(get_libdir)/sbcl/src/**/*.*") |
727 |
- X ("SYS:CONTRIB;**;*.*.*" #p"${EPREFIX}/usr/$(get_libdir)/sbcl/**/*.*"))) |
728 |
- X |
729 |
- ;;; Setup ASDF2 |
730 |
- (load "${EPREFIX}/etc/common-lisp/gentoo-init.lisp") |
731 |
- EOF |
732 |
- |
733 |
- # Install documentation |
734 |
- unset SBCL_HOME |
735 |
- INSTALL_ROOT="${ED}/usr" LIB_DIR="${EPREFIX}/usr/$(get_libdir)" DOC_DIR="${ED}/usr/share/doc/${PF}" \ |
736 |
- sh install.sh || die "install.sh failed" |
737 |
- |
738 |
- # bug #517008 |
739 |
- pax-mark -mr "${D}"/usr/bin/sbcl |
740 |
- |
741 |
- # rm empty directories lest paludis complain about this |
742 |
- find "${ED}" -empty -type d -exec rmdir -v {} + |
743 |
- |
744 |
- if use doc; then |
745 |
- dodoc -r doc/internals/sbcl-internals |
746 |
- |
747 |
- doinfo doc/manual/*.info* |
748 |
- doinfo doc/internals/sbcl-internals.info |
749 |
- |
750 |
- docinto internals-notes |
751 |
- dodoc doc/internals-notes/* |
752 |
- else |
753 |
- rm -Rv "${ED}/usr/share/doc/${PF}" || die |
754 |
- fi |
755 |
- |
756 |
- # install the SBCL source |
757 |
- if use source; then |
758 |
- ./clean.sh |
759 |
- cp -av src "${ED}/usr/$(get_libdir)/sbcl/" || die |
760 |
- for d in contrib/*/; do |
761 |
- cp -av "$d" "${ED}/usr/$(get_libdir)/sbcl/" || die |
762 |
- done |
763 |
- fi |
764 |
- |
765 |
- # necessary for running newly-saved images |
766 |
- echo "SBCL_HOME=${EPREFIX}/usr/$(get_libdir)/${PN}" > "${ENVD}" |
767 |
- echo "SBCL_SOURCE_ROOT=${EPREFIX}/usr/$(get_libdir)/${PN}/src" >> "${ENVD}" |
768 |
- doenvd "${ENVD}" |
769 |
-} |