diff options
author | Andrey Grozin <grozin@gentoo.org> | 2021-03-28 16:43:48 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2021-03-28 16:43:48 +0700 |
commit | 0c20a9916fb57cd07ea2f356a1aac0fffbed2ab1 (patch) | |
tree | ace92dc12c67a3c2b2767e50221b423720ce3af8 /dev-lisp/gcl | |
parent | gnome-base/gnome-session: Fix conflict with systemd v247 (diff) | |
download | gentoo-0c20a9916fb57cd07ea2f356a1aac0fffbed2ab1.tar.gz gentoo-0c20a9916fb57cd07ea2f356a1aac0fffbed2ab1.tar.bz2 gentoo-0c20a9916fb57cd07ea2f356a1aac0fffbed2ab1.zip |
dev-lisp/gcl: bump to 2.6.13_pre99.ebuild
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'dev-lisp/gcl')
-rw-r--r-- | dev-lisp/gcl/Manifest | 1 | ||||
-rw-r--r-- | dev-lisp/gcl/gcl-2.6.13_pre99.ebuild | 107 |
2 files changed, 108 insertions, 0 deletions
diff --git a/dev-lisp/gcl/Manifest b/dev-lisp/gcl/Manifest index 1ecaa877a586..3efb0a3b090f 100644 --- a/dev-lisp/gcl/Manifest +++ b/dev-lisp/gcl/Manifest @@ -2,4 +2,5 @@ DIST gcl-2.6.10-fedora.tar.bz2 695718 BLAKE2B 151cac372f74a971ffb31191a3614d0f7b DIST gcl-2.6.10.tar.gz 5490689 BLAKE2B 46af0cf8a810a82fe2bc2bd46ca1cbe17b74c71eb4af6a06032040900dcad4dd4338883cd9225f0945ae425eba788ac84db9a0ed454779edd86c74a1bb48a947 SHA512 bbaacce712f15130550bcdf7e53edf4df9ab955e84ec701087034115df1c1e657d956853d5db85d7e88709981f9b7fd4c9df7acf6c8588a8ccf5f05e4e666aed DIST gcl-2.6.12-fedora.tar.bz2 680471 BLAKE2B 0ad96ce0a09bb73ee77456373eb7e50b2325a4f2e042c21120a1c33b2dec2aa10f5485bb1b02e8eb8e77aaaea6e141189d676217f9d139615911d8a77ea5818a SHA512 7640f8370754c889e2db9d047c4476195f949f4d97eafc7ef81761c1a548e24125d6d93381227b55f1840c3d127770995e88bf66f83c6952e121f5fa004e7f1a DIST gcl-2.6.12.tar.gz 7031837 BLAKE2B afd3f81dd8a712d92883a96399a2e0621b0d38a349904707846bd694892510012fde27f94ec36664c249659a480e7f92c412b3790ecb74247a91ba0cb44aa420 SHA512 e82b5bdded6f846de4ea35a83bc8294043ba6d4fe03ff421f8753e78add1e5e87124782f672cd38ad89bbec1ca7c5ff69fe2621be1552b209516b58b6c97fd20 +DIST gcl-2.6.13_pre99.tar.xz 10030460 BLAKE2B 8750d641062bcad5a124173013d38403f37ad352c7c436e89d4e329d997200be399a100dcefc4ce484e3f85f46e2dd90ee02947e5e728e001782e973c4122b0e SHA512 a3ad2bd639157ca2a80b534e87c169f6e07002a1b9ca8039483cff336af764123dec9e749da045b656b990e0a97c70881c798420ec4bd0e4494f43d0d040e413 DIST gcl-Version_2_6_13pre98.tar.gz 6654514 BLAKE2B 26dcfc01bc0d783b5c45561dc975765f573fd75c2da09786e3a305cf91273684ff6f609ecf659365203ba404e7c8aa5ec97ae661190d32ba31e75d19d1ba0050 SHA512 0d074ed27e04d506ea414e58a70bb284c57f681314c8e68281fcc927e964a3489d9ff2fd9099d282e9da1c75888d758cf5b4f7350da6e7ba8cc90eb1667e1eb9 diff --git a/dev-lisp/gcl/gcl-2.6.13_pre99.ebuild b/dev-lisp/gcl/gcl-2.6.13_pre99.ebuild new file mode 100644 index 000000000000..dec3a617910c --- /dev/null +++ b/dev-lisp/gcl/gcl-2.6.13_pre99.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit elisp-common eutils flag-o-matic + +DESCRIPTION="GNU Common Lisp" +HOMEPAGE="https://www.gnu.org/software/gcl/gcl.html" +SRC_URI="https://dev.gentoo.org/~grozin/${P}.tar.xz" + +LICENSE="LGPL-2 GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="+ansi athena emacs +readline tk X" + +# See bug #205803 +RESTRICT="strip" + +RDEPEND="dev-libs/gmp + virtual/latex-base + emacs? ( app-editors/emacs:= ) + readline? ( sys-libs/readline:= ) + athena? ( x11-libs/libXaw ) + tk? ( dev-lang/tk:= ) + X? ( x11-libs/libXt x11-libs/libXext x11-libs/libXmu x11-libs/libXaw )" +DEPEND="${RDEPEND} + virtual/texi2dvi + app-text/texi2html + >=sys-devel/autoconf-2.52" + +src_configure() { + strip-flags + filter-flags -fstack-protector -fstack-protector-all + # breaks linking on multiple defined syms + #append-cflags $(test-flags-CC -fgnu89-inline) + + local tcl="" + if use tk; then + tcl="--enable-tclconfig=/usr/lib --enable-tkconfig=/usr/lib" + fi + + econf --enable-dynsysgmp \ + --disable-xdr \ + --enable-emacsdir=/usr/share/emacs/site-lisp/gcl \ + $(use_enable readline) \ + $(use_enable ansi) \ + $(use_enable athena xgcl) \ + $(use_with X x) \ + ${tcl} +} + +src_compile() { + emake -j1 + use athena && pdflatex xgcl-2/dwdoc.tex +} + +src_test() { + local make_ansi_tests_clean="rm -f test.out *.fasl *.o *.so *~ *.fn *.x86f *.fasl *.ufsl" + if use ansi; then + cd ansi-tests + + ( make clean && make test-unixport ) \ + || die "make ansi-tests failed!" + + cat "${FILESDIR}/bootstrap-gcl" \ + | ../unixport/saved_ansi_gcl + + cat "${FILESDIR}/bootstrap-gcl" \ + |sed s/bootstrapped_ansi_gcl/bootstrapped_r_ansi_gcl/g \ + | ./bootstrapped_ansi_gcl + + ( ${make_ansi_tests_clean} && \ + echo "(load \"gclload.lsp\")" \ + | ./bootstrapped_r_ansi_gcl ) \ + || die "Phase 2, bootstraped compiler failed in tests" + fi +} + +src_install() { + emake DESTDIR="${D}" install + + rm elisp/add-defaults.el + dodoc readme readme.gmp readme.xgcl ChangeLog doc/* info/*.pdf + dodoc -r info/gcl-si + doman man/man1/gcl.1 + doinfo info/gcl.info* info/gcl-si.info + + use athena && dodoc xgcl-2/*.pdf + + if use tk; then + dodoc -r info/gcl-tk + doinfo info/gcl-tk.info* + fi + + if use emacs; then + elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el + elisp-install ${PN} elisp/*.el + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |