Сравнение iverilog-10.3 с iverilog-11.0
/usr/portage/sci-electronics/iverilog/iverilog-11.0.ebuild 2023-10-09 14:52:35.044368490 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2023 Gentoo Authors |
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=8 |
|
4 |
EAPI=7 |
|
5 | 5 | |
6 | 6 |
inherit autotools |
7 | 7 | |
... | ... | |
24 | 24 | |
25 | 25 |
LICENSE="LGPL-2.1" |
26 | 26 |
SLOT="0" |
27 |
IUSE="examples" |
|
28 | 27 | |
29 |
# 721022, should depend on sys-libs/readline:= |
|
30 | 28 |
DEPEND=" |
31 | 29 |
sys-libs/readline:= |
32 | 30 |
sys-libs/zlib |
... | ... | |
39 | 37 |
" |
40 | 38 | |
41 | 39 |
PATCHES=( |
42 |
"${FILESDIR}"/${PN}-10.3-file-missing.patch #705412 |
|
43 |
"${FILESDIR}"/${PN}-10.3-fno-common.patch #706366 |
|
44 |
"${FILESDIR}"/${PN}-10.3-gen-bison-header.patch #734760 |
|
45 |
"${FILESDIR}"/${PN}-10.3-call-nm.patch #731906 |
|
46 |
"${FILESDIR}"/${PN}-10.3-configure-ac.patch #426262 |
|
47 |
"${FILESDIR}"/${PN}-10.3-override-var.patch #730096 |
|
40 |
"${FILESDIR}/${P}-autoconf-2.70.patch" #749870 |
|
48 | 41 |
) |
49 | 42 | |
50 | 43 |
src_prepare() { |
... | ... | |
54 | 47 |
# Here translate the autoconf.sh, equivalent to the following code |
55 | 48 |
# > sh autoconf.sh |
56 | 49 | |
57 |
# Move configure.in to configure.ac (bug #426262) |
|
58 |
mv configure.in configure.ac || die |
|
59 | ||
60 | 50 |
# Autoconf in root ... |
61 |
eautoconf --force |
|
51 |
eautoconf |
|
52 | ||
62 | 53 |
# Precompiling lexor_keyword.gperf |
63 | 54 |
gperf -o -i 7 -C -k 1-4,6,9,\$ -H keyword_hash -N check_identifier -t ./lexor_keyword.gperf > lexor_keyword.cc || die |
64 | 55 |
# Precompiling vhdlpp/lexor_keyword.gperf |
... | ... | |
68 | 59 | |
69 | 60 |
src_install() { |
70 | 61 |
local DOCS=( *.txt ) |
71 |
# Default build fails with parallel jobs, |
|
72 |
# https://github.com/steveicarus/iverilog/pull/294 |
|
73 |
emake installdirs DESTDIR="${D}" |
|
62 | ||
74 | 63 |
default |
75 | 64 | |
76 |
if use examples; then |
|
77 |
dodoc -r examples |
|
78 |
docompress -x /usr/share/doc/${PF}/examples |
|
79 |
fi |
|
65 |
dodoc -r examples |
|
66 |
docompress -x /usr/share/doc/${PF}/examples |
|
80 | 67 |
} |