sci-electronics/iverilog: fix ebuild from 11.0

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Huang Rui <vowstar@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17801
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Huang Rui
2020-10-11 12:29:57 +03:00
committed by Joonas Niilola
parent 7dd65bdb23
commit 90f5be862e
+7 -10
View File
@@ -24,14 +24,14 @@ fi
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="examples"
DEPEND="
sys-libs/readline:=
sys-libs/zlib
"
RDEPEND="${DEPEND}"
BDEPEND="dev-util/gperf
BDEPEND="
dev-util/gperf
sys-devel/bison
sys-devel/flex
"
@@ -44,7 +44,8 @@ src_prepare() {
# > sh autoconf.sh
# Autoconf in root ...
eautoconf --force
eautoconf
# Precompiling lexor_keyword.gperf
gperf -o -i 7 -C -k 1-4,6,9,\$ -H keyword_hash -N check_identifier -t ./lexor_keyword.gperf > lexor_keyword.cc || die
# Precompiling vhdlpp/lexor_keyword.gperf
@@ -54,13 +55,9 @@ src_prepare() {
src_install() {
local DOCS=( *.txt )
# Default build fails with parallel jobs,
# https://github.com/steveicarus/iverilog/pull/294
emake installdirs DESTDIR="${D}"
default
if use examples; then
dodoc -r examples
docompress -x /usr/share/doc/${PF}/examples
fi
dodoc -r examples
docompress -x /usr/share/doc/${PF}/examples
}