mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-lisp/ecl: bump to 26.3.27
Signed-off-by: Andrey Grozin <grozin@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST ecl-24.5.10.tgz 8130112 BLAKE2B 76ee9b4dca68543151e8f8474651e3f2b540017b62ab2ba6e00d64002362045ccf0aad16d0f82d7fd9a7511423aa90f9ddce912bf4b314c7905f6e404b850d1a SHA512 46e6da0f319573e412e54573b3c029179ba9debf48f73828ad5dd0a99c4a0b4ef21f99b411fdab3dc5429242c917553eb3e9794eeac7ec44667cd26fc0dd927e
|
||||
DIST ecl-26.3.27.tgz 7488052 BLAKE2B 6cb8703e37eb2f24eaf375dbb77bb9a9a2b526de640441a91b459bd4ca9bfc589cfc6ce180b6040157c86db338ae8e9f16c01ab355fcb2764bb8afd1742f9ac5 SHA512 a6a8a40f63b44229fb84239cf5f1048e0a99bc36ec3fc1925409ad344884997de125ac1954cf0fb715529efb602649735e739f73827a834fb117512cf2e7879d
|
||||
|
||||
89
dev-lisp/ecl/ecl-26.3.27.ebuild
Normal file
89
dev-lisp/ecl/ecl-26.3.27.ebuild
Normal file
@@ -0,0 +1,89 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit flag-o-matic readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="ECL is an embeddable Common Lisp implementation"
|
||||
HOMEPAGE="https://common-lisp.net/project/ecl/"
|
||||
SRC_URI="https://common-lisp.net/project/ecl/static/files/release/${P}.tgz"
|
||||
|
||||
LICENSE="BSD-2 LGPL-2.1+"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE="cxx debug emacs gengc precisegc cpu_flags_x86_sse +threads +unicode X"
|
||||
# test phase only works if ecl already installed #516876
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="dev-libs/gmp:0=
|
||||
dev-libs/libffi:=
|
||||
dev-libs/libatomic_ops
|
||||
>=dev-libs/boehm-gc-7.1[threads?]
|
||||
>=dev-lisp/asdf-2.33-r3:="
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/texi2html
|
||||
emacs? ( >=app-editors/emacs-23.1:* >=app-eselect/eselect-emacs-1.12 )"
|
||||
|
||||
DOCS=( README.md CHANGELOG )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-16.1.3-headers-gentoo.patch"
|
||||
"${FILESDIR}/${PN}-16.1.3-build.patch"
|
||||
"${FILESDIR}/${PN}-21.2.1-donotcompressinfo.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
cp "${EPREFIX}"/usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
filter-lto # bug #931081
|
||||
|
||||
econf \
|
||||
--enable-gmp=system \
|
||||
--enable-boehm=system \
|
||||
--with-dffi \
|
||||
--enable-libatomic=system \
|
||||
--with-defsystem \
|
||||
$(use_with cxx) \
|
||||
$(use_enable gengc) \
|
||||
$(use_enable precisegc) \
|
||||
$(use_with debug debug-cflags) \
|
||||
$(use_with cpu_flags_x86_sse sse) \
|
||||
$(use_enable threads) \
|
||||
$(use_enable unicode) \
|
||||
$(use_with X x)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use emacs; then
|
||||
local ETAGS=$(eselect --brief etags list | sed -ne '/emacs/{p;q}')
|
||||
[[ -n ${ETAGS} ]] || die "No etags implementation found"
|
||||
pushd build > /dev/null || die
|
||||
emake ETAGS=${ETAGS} TAGS
|
||||
popd > /dev/null || die
|
||||
else
|
||||
touch build/TAGS
|
||||
fi
|
||||
|
||||
## for /proc/self/clear_refs (see #867052)
|
||||
addpredict /proc
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
readme.gentoo_create_doc
|
||||
pushd build/doc > /dev/null || die
|
||||
newman ecl.man ecl.1
|
||||
newman ecl-config.man ecl-config.1
|
||||
popd > /dev/null || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
}
|
||||
Reference in New Issue
Block a user