diff options
Diffstat (limited to 'dev-lisp/gcl/gcl-2.6.13_pre98.ebuild')
-rw-r--r-- | dev-lisp/gcl/gcl-2.6.13_pre98.ebuild | 124 |
1 files changed, 0 insertions, 124 deletions
diff --git a/dev-lisp/gcl/gcl-2.6.13_pre98.ebuild b/dev-lisp/gcl/gcl-2.6.13_pre98.ebuild deleted file mode 100644 index ed7082d42683..000000000000 --- a/dev-lisp/gcl/gcl-2.6.13_pre98.ebuild +++ /dev/null @@ -1,124 +0,0 @@ -# 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 - -MY_P="${PN}-Version_2_6_13pre98" -DESCRIPTION="GNU Common Lisp" -HOMEPAGE="https://www.gnu.org/software/gcl/gcl.html" -SRC_URI="http://git.savannah.gnu.org/cgit/gcl.git/snapshot/${MY_P}.tar.gz" - -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="emacs? ( app-editors/emacs:= ) - readline? ( sys-libs/readline:= ) - athena? ( x11-libs/libXaw ) - dev-libs/gmp - tk? ( dev-lang/tk:= ) - X? ( x11-libs/libXt x11-libs/libXext x11-libs/libXmu x11-libs/libXaw ) - virtual/latex-base" -DEPEND="${RDEPEND} - virtual/texi2dvi - app-text/texi2html - >=sys-devel/autoconf-2.52" - -S="${WORKDIR}"/${PN} - -src_unpack() { - tar --strip-components=1 -xaf "${DISTDIR}/${MY_P}.tar.gz" || die -} - -src_prepare() { - find . -type f -perm /0111 | xargs chmod a-x - chmod a+x add-defs add-defs1 config.guess config.sub configure install.sh - chmod a+x bin/info bin/info1 gcl-tk/gcltksrv.in gcl-tk/ngcltksrv mp/gcclab - chmod a+x o/egrep-def utils/replace xbin/* - - eapply "${FILESDIR}"/${PN}-2.6.13_pre98-makefile.patch - eapply_user - - sed -e 's|"-fomit-frame-pointer"|""|' -i configure -} - -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 - if use athena; then - pushd xgcl-2 > /dev/null - pdflatex dwdoc.tex - popd > /dev/null - fi -} - -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 ChangeLog doc/* info/*.pdf - doman man/man1/gcl.1 - dodoc -r info/gcl-si info/gcl-tk - - if use emacs; then - elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el - elisp-install ${PN} elisp/*.el - fi - - use athena && dodoc xgcl-2/*.pdf -} - -pkg_postinst() { - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} |