summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2024-06-19 02:05:39 +0200
committerUlrich Müller <ulm@gentoo.org>2024-06-19 02:05:39 +0200
commit2f9f0d8e388a24b3f23feb6db0c39ff04163acfe (patch)
tree71f241bbf5a5d7c309e5466d8939c783fc010348 /dev-lisp
parentapp-metrics/prometheus: add 2.52.0 (diff)
downloadgentoo-2f9f0d8e388a24b3f23feb6db0c39ff04163acfe.tar.gz
gentoo-2f9f0d8e388a24b3f23feb6db0c39ff04163acfe.tar.bz2
gentoo-2f9f0d8e388a24b3f23feb6db0c39ff04163acfe.zip
dev-lisp/cmucl: drop 21c
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'dev-lisp')
-rw-r--r--dev-lisp/cmucl/Manifest2
-rw-r--r--dev-lisp/cmucl/cmucl-21c.ebuild110
-rw-r--r--dev-lisp/cmucl/files/cmucl-21c-build.patch22
3 files changed, 0 insertions, 134 deletions
diff --git a/dev-lisp/cmucl/Manifest b/dev-lisp/cmucl/Manifest
index 99b0ed85820d..9721af93252b 100644
--- a/dev-lisp/cmucl/Manifest
+++ b/dev-lisp/cmucl/Manifest
@@ -1,4 +1,2 @@
-DIST cmucl-21c-x86-linux.tar.bz2 11127872 BLAKE2B b9089a40b4a0738f9faccdfddb7b33256a561a07cedc3ef9b3ec7afddbbb9de493c2ffb9af4a8d6b6ce70ef857576870901a6b7a607f52bdaf8a0f53ddd2d07e SHA512 9097220aef612aa3d8367a86a86dc62d86d918190d2688f6e90d415c9f9d881f97f0829e9d310f700b014821d30bf5a15f7a05cdb9201c9deab10a7231e0bcb6
DIST cmucl-21e-x86-linux.tar.bz2 11305452 BLAKE2B d7dde5afb0d6b0a42506c2a7bef09e93ddfb415eea1d41db95d63bdfc3d6f654859dabd641b4fd78c1ba4c36a6f6b5ac6318d4124a0cd21b389dd448e4bc109a SHA512 84193903a75356a28e14b4dc2f6c4dd20d6f0d424a24150c2f9b1094b4a91def4c85b8c5ade326487ca34a7705096c09109329f1eedba728e63e70b1dc011b5d
-DIST cmucl-src-21c.tar.bz2 6947775 BLAKE2B 828075c71ddf459d09076199af4a02f2294063bd9ef0beb6d4bcbb473dd0ff8cfdff7faa9416f640e125603301fa37c73a280db597bf4301c22fbe88c4cc2dbb SHA512 98ea0516b71af7c6f92b5f67f6c1545949fcd1dc95e1238a989c1c2858a75e2751e5eb765b29812ad5cc5de015333787dac2a63a9ddea9bb83cfd72fef6794f4
DIST cmucl-src-21e.tar.bz2 7161287 BLAKE2B 1e52643917f05bbd2fa45f3cbed894506458a13047faf077388066035dfcb66440879c8cc4f79592b32dd5eb85679e3bb9fad5d9327f86e1c30e8446ffdda281 SHA512 fc2647fdd9adebe9c9a6a6398ef43203b750ff9c9437fec2b0c9b6fe2a50e430089308f0ff2362c3bc76724df9168c95293191e45489b3a5051942f63c0ed9b2
diff --git a/dev-lisp/cmucl/cmucl-21c.ebuild b/dev-lisp/cmucl/cmucl-21c.ebuild
deleted file mode 100644
index 13481e06b89a..000000000000
--- a/dev-lisp/cmucl/cmucl-21c.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs
-
-MY_PV=${PV:0:3}
-
-DESCRIPTION="CMU Common Lisp is an implementation of ANSI Common Lisp"
-HOMEPAGE="http://www.cons.org/cmucl/"
-SRC_URI="
- http://common-lisp.net/project/cmucl/downloads/release/${MY_PV}/cmucl-src-${MY_PV}.tar.bz2
- http://common-lisp.net/project/cmucl/downloads/release/${MY_PV}/cmucl-${MY_PV}-x86-linux.tar.bz2
-"
-S="${WORKDIR}"
-
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="-* x86"
-IUSE="X doc source"
-
-CDEPEND=">=dev-lisp/asdf-2.33-r3:=
- x11-libs/motif:0"
-DEPEND="${CDEPEND}
- app-alternatives/bc
- doc? ( virtual/latex-base )"
-RDEPEND="${CDEPEND}"
-
-TARGET=linux-4
-
-src_prepare() {
- eapply "${FILESDIR}"/${P}-execstack-fixes.patch
- eapply "${FILESDIR}"/${P}-build.patch
- eapply_user
- #cp "${FILESDIR}"/os-common.h src/lisp/ || die
- cp /usr/share/common-lisp/source/asdf/build/asdf.lisp src/contrib/asdf/ || die
-}
-
-src_compile() {
- local cmuopts buildimage
-
- if use X ; then
- cmuopts=""
- else
- cmuopts="-u"
- fi
-
- buildimage="bin/lisp -batch"
-
- env CC="$(tc-getCC)" bin/build.sh -v "-gentoo-${PR}" -C "" -o "${buildimage}" ${cmuopts} || die "Cannot build the compiler"
-
- # Compile up the asdf and defsystem modules
- ${TARGET}/lisp/lisp -noinit -nositeinit -batch << EOF || die
-(in-package :cl-user)
-(setf (ext:search-list "target:")
- '("$TARGET/" "src/"))
-(setf (ext:search-list "modules:")
- '("target:contrib/"))
-
-(compile-file "modules:asdf/asdf")
-(compile-file "modules:defsystem/defsystem")
-EOF
-
- # Documentation
- if use doc; then
- pushd src/docs/cmu-user > /dev/null || die "directory src/docs/cmu-user does not exist"
- emake
- cd ../internals || die "directory src/docs/internals does not exist"
- emake
- popd > /dev/null
- fi
-}
-
-src_install() {
- bin/make-dist.sh -S -g -G root -O root -M share/man/man1 -V ${MY_PV} -A x86 -o linux ${TARGET} \
- || die "Cannot build installation archive"
- # Necessary otherwise tar will fail
- dodir /usr
- pushd "${D}"/usr > /dev/null
- tar xzpf "${WORKDIR}"/cmucl-${MY_PV}-x86-linux.tar.gz \
- || die "Cannot install main system"
- if use X ; then
- tar xzpf "${WORKDIR}"/cmucl-${MY_PV}-x86-linux.extra.tar.gz \
- || die "Cannot install extra files"
- fi
- if use source; then
- # Necessary otherwise tar will fail
- dodir /usr/share/common-lisp/source/${PN}
- cd "${D}"/usr/share/common-lisp/source/${PN} || die
- tar --strip-components 1 -xzpf "${WORKDIR}"/cmucl-src-${MY_PV}.tar.gz \
- || die "Cannot install sources"
- fi
- popd > /dev/null
-
- # Install site config file
- sed "s,@PF@,${PF},g ; s,@VERSION@,$(date +%F),g" \
- < "${FILESDIR}"/site-init.lisp.in \
- > "${D}"/usr/$(get_libdir)/cmucl/site-init.lisp \
- || die "Cannot fix site-init.lisp"
- insinto /etc/common-lisp
- doins "${FILESDIR}"/cmuclrc
-
- # Documentation
- dodoc doc/cmucl/README
- if use doc; then
- dodoc src/docs/cmu-user/cmu-user.pdf src/docs/internals/design.pdf
- docompress -x /usr/share/doc/${PF}/{cmu-user,design}.pdf
- fi
-}
diff --git a/dev-lisp/cmucl/files/cmucl-21c-build.patch b/dev-lisp/cmucl/files/cmucl-21c-build.patch
deleted file mode 100644
index 4d7e4061c924..000000000000
--- a/dev-lisp/cmucl/files/cmucl-21c-build.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -r -U2 21a.orig/bin/build.sh 21a/bin/build.sh
---- 21a.orig/bin/build.sh 2015-05-19 07:42:40.000000000 +0600
-+++ 21a/bin/build.sh 2016-04-03 20:54:08.597016537 +0600
-@@ -40,5 +40,5 @@
- ENABLE4="yes"
-
--version=21b
-+version=21c
- SRCDIR=src
- BINDIR=bin
-@@ -145,10 +145,9 @@
- $TOOLDIR/load-world.sh $TARGET "$VERSION" || { echo "Failed: $TOOLDIR/load-world.sh"; exit 1; }
-
-- $TARGET/lisp/lisp -batch -noinit -nositeinit $FPU_MODE < /dev/null || { echo "Failed: $TARGET/lisp/lisp -batch -noinit $FPU_MODE"; exit 1; }
-+ $TARGET/lisp/lisp -batch -noinit -nositeinit < /dev/null || { echo "Failed: $TARGET/lisp/lisp -batch -noinit"; exit 1; }
- return 0;
- fi
- }
-
--FPU_MODE=
- BUILDWORLD="$TOOLDIR/build-world.sh"
- BUILD_POT="yes"