Diff gcl-2.6.14 with a gcl-2.6.15_pre3

/usr/portage/dev-lisp/gcl/gcl-2.6.15_pre3.ebuild 2024-07-02 13:51:44.557851472 +0300
6 6

  
7 7
DESCRIPTION="GNU Common Lisp"
8 8
HOMEPAGE="https://www.gnu.org/software/gcl/gcl.html"
9
SRC_URI="https://ftp.gnu.org/gnu/${PN}/${P}.tar.gz"
9
SRC_URI="http://git.savannah.gnu.org/cgit/gcl.git/snapshot/${PN}-Version_2_6_15pre3.tar.gz
10
	https://dev.gentoo.org/~grozin/${PF}-spelling.patch.gz"
10 11

  
11 12
LICENSE="LGPL-2+ GPL-2+"
12 13
SLOT="0"
13
KEYWORDS="~amd64 ~arm ~ppc ppc64 ~x86"
14
IUSE="+ansi athena emacs +readline tk X"
14
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~riscv ~x86"
15
IUSE="+ansi athena doc emacs +readline tk X"
15 16
RESTRICT="strip"  #205803
16 17

  
17 18
RDEPEND="dev-libs/gmp
......
26 27
	app-text/texi2html
27 28
	>=dev-build/autoconf-2.52"
28 29

  
30
PATCHES=(
31
	"${WORKDIR}"/${PF}-spelling.patch
32
	# bug 893938
33
	"${FILESDIR}"/${PN}-2.6.15-riscv.patch
34
)
35
S="${WORKDIR}"/${PN}-Version_2_6_15pre3/${PN}
36

  
29 37
src_configure() {
30 38
	filter-lto # bug #931082
31 39
	strip-flags
32 40
	filter-flags -fstack-protector -fstack-protector-all
33
	# breaks linking on multiple defined syms
34
	#append-cflags $(test-flags-CC -fgnu89-inline)
35 41

  
36 42
	local tcl=""
37 43
	if use tk; then
......
76 82

  
77 83
src_install() {
78 84
	emake DESTDIR="${D}" install
85
	dodoc readme readme.gmp readme.xgcl ChangeLog doc/*
79 86

  
80
	rm elisp/add-defaults.el
81
	dodoc readme readme.gmp readme.xgcl ChangeLog doc/* info/*.pdf
82
	dodoc -r info/gcl-si
83
	doman man/man1/gcl.1
84
	doinfo info/gcl.info* info/gcl-si.info
85

  
86
	use athena && dodoc xgcl-2/*.pdf
87

  
88
	if use tk; then
89
		dodoc -r info/gcl-tk
90
		doinfo info/gcl-tk.info*
87
	pushd "${D}"/usr/share/doc > /dev/null
88
	rm dwdoc.tex || die "rm dwdoc.tex.bz2 failed"
89
	if use doc; then
90
		mv *.pdf gcl gcl-si gcl-tk dwdoc ${PF} || die "mv * ${PF} failed"
91
	else
92
		rm -rf *.pdf gcl gcl-si gcl-tk dwdoc
91 93
	fi
94
	popd > /dev/null
92 95

  
93 96
	if use emacs; then
94 97
		elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
Thank you!