Diff gcl-2.6.10 with a gcl-2.6.12

/usr/portage/dev-lisp/gcl/gcl-2.6.12.ebuild 2019-12-21 02:09:00.000000000 +0300
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=5
5

  
6 5
inherit elisp-common eutils flag-o-matic
7 6

  
8 7
DESCRIPTION="GNU Common Lisp"
......
11 10

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

  
17 16
# See bug #205803
......
38 37
	chmod a+x add-defs add-defs1 config.guess config.sub configure install.sh
39 38
	chmod a+x bin/info bin/info1 gcl-tk/gcltksrv.in gcl-tk/ngcltksrv mp/gcclab
40 39
	chmod a+x o/egrep-def utils/replace xbin/*
40
	epatch "${FILESDIR}"/${P}-gcc5.patch
41 41

  
42 42
	# fedora patches
43 43
	epatch "${WORKDIR}"/fedora/fd-leak.patch
44 44
	epatch "${WORKDIR}"/fedora/latex.patch
45 45
	epatch "${WORKDIR}"/fedora/texinfo.patch
46 46
	epatch "${WORKDIR}"/fedora/elisp.patch
47
	epatch "${WORKDIR}"/fedora/selinux.patch
47 48
	epatch "${WORKDIR}"/fedora/rename.patch
48 49
	epatch "${WORKDIR}"/fedora/getcwd.patch
50
	epatch "${WORKDIR}"/fedora/plt.patch
51
	epatch "${WORKDIR}"/fedora/ellipsis.patch
49 52
	epatch "${WORKDIR}"/fedora/infrastructure.patch
50 53
	epatch "${WORKDIR}"/fedora/extension.patch
51 54
	epatch "${WORKDIR}"/fedora/unrandomize.patch
52 55
	epatch "${WORKDIR}"/fedora/asm-signal-h.patch
53
	epatch "${WORKDIR}"/fedora/plt.patch
54
	epatch "${WORKDIR}"/fedora/ellipsis.patch
55
	epatch "${WORKDIR}"/fedora/man.patch
56
	epatch "${WORKDIR}"/fedora/reloc-type.patch
57 56
	epatch "${WORKDIR}"/fedora/largefile.patch
57
	epatch "${WORKDIR}"/fedora/arm.patch
58 58

  
59
	epatch "${FILESDIR}"/${PN}-tcl-8.6.patch
60
	epatch "${FILESDIR}"/${PN}-gmp-6.patch
61
	epatch "${FILESDIR}"/${PN}-readline-6.3.patch
59
	epatch_user
62 60

  
63 61
	sed -e 's|"-fomit-frame-pointer"|""|' -i configure
64
	sed -e 's|@EXT@||g' debian/in.gcl.1 > gcl.1
65 62
}
66 63

  
67 64
src_configure() {
68 65
	strip-flags
69 66
	filter-flags -fstack-protector -fstack-protector-all
67
	append-cflags $(test-flags-CC -fgnu89-inline)
70 68

  
71 69
	local tcl=""
72 70
	if use tk; then
......
118 116

  
119 117
src_install() {
120 118
	emake DESTDIR="${D}" install
121
	mv "${D}"usr/share/doc/*.dvi .
122 119
	rm -rf "${D}"usr/share/doc
123 120
	rm -rf "${D}"usr/share/emacs
124
	rm -rf "${D}"usr/lib/gcl-*/info
125 121

  
126
	rm doc/makefile elisp/add-defaults.el
122
	rm elisp/add-defaults.el
127 123
	dodoc readme* RELEASE* ChangeLog* doc/*
128
	doman gcl.1
124
	doman man/man1/gcl.1
129 125
	doinfo info/*.info*
130 126
	dohtml -r info/gcl-si info/gcl-tk
131 127

  
......
135 131
	fi
136 132

  
137 133
	insinto /usr/share/doc/${PF}
138
	doins *.dvi
134
	doins info/*.pdf
139 135
	if use athena; then
140 136
		pushd xgcl-2 > /dev/null
141 137
		insinto /usr/share/doc/${PF}
Thank you!