Diff gcl-2.6.14 with a gcl-2.6.15_pre3
/usr/portage/dev-lisp/gcl/gcl-2.6.15_pre3.ebuild 2023-10-09 14:52:29.776368357 +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 | 14 |
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" |
14 |
IUSE="+ansi athena emacs +readline tk X" |
|
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 |
>=sys-devel/autoconf-2.52" |
28 | 29 | |
30 |
PATCHES=( "${WORKDIR}"/${PF}-spelling.patch ) |
|
31 |
S="${WORKDIR}"/${PN}-Version_2_6_15pre3/${PN} |
|
32 | ||
29 | 33 |
src_configure() { |
30 | 34 |
strip-flags |
31 | 35 |
filter-flags -fstack-protector -fstack-protector-all |
32 |
# breaks linking on multiple defined syms |
|
33 |
#append-cflags $(test-flags-CC -fgnu89-inline) |
|
34 | 36 | |
35 | 37 |
local tcl="" |
36 | 38 |
if use tk; then |
... | ... | |
75 | 77 | |
76 | 78 |
src_install() { |
77 | 79 |
emake DESTDIR="${D}" install |
80 |
dodoc readme readme.gmp readme.xgcl ChangeLog doc/* |
|
78 | 81 | |
79 |
rm elisp/add-defaults.el |
|
80 |
dodoc readme readme.gmp readme.xgcl ChangeLog doc/* info/*.pdf |
|
81 |
dodoc -r info/gcl-si |
|
82 |
doman man/man1/gcl.1 |
|
83 |
doinfo info/gcl.info* info/gcl-si.info |
|
84 | ||
85 |
use athena && dodoc xgcl-2/*.pdf |
|
86 | ||
87 |
if use tk; then |
|
88 |
dodoc -r info/gcl-tk |
|
89 |
doinfo info/gcl-tk.info* |
|
82 |
pushd "${D}"/usr/share/doc > /dev/null |
|
83 |
rm dwdoc.tex || die "rm dwdoc.tex.bz2 failed" |
|
84 |
if use doc; then |
|
85 |
mv *.pdf gcl gcl-si gcl-tk dwdoc ${PF} || die "mv * ${PF} failed" |
|
86 |
else |
|
87 |
rm -rf *.pdf gcl gcl-si gcl-tk dwdoc |
|
90 | 88 |
fi |
89 |
popd > /dev/null |
|
91 | 90 | |
92 | 91 |
if use emacs; then |
93 | 92 |
elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el |