commit:     0adc7a3e612b9d167f7eda095035cf6732e03685
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 14 18:36:37 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 14 18:36:37 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0adc7a3e

sci-electronics/iverilog: install examples unconditionally

"The size of the examples is 104 kB (compressed - bz2) / 144 kB (uncompressed)."
"Total size of the package is about 6.3M."

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-electronics/iverilog/iverilog-10.3-r2.ebuild | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/sci-electronics/iverilog/iverilog-10.3-r2.ebuild 
b/sci-electronics/iverilog/iverilog-10.3-r2.ebuild
index 61d8fc371b2..5d2c037dbaa 100644
--- a/sci-electronics/iverilog/iverilog-10.3-r2.ebuild
+++ b/sci-electronics/iverilog/iverilog-10.3-r2.ebuild
@@ -24,7 +24,6 @@ fi
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-IUSE="examples"
 
 DEPEND="
        sys-libs/readline:=
@@ -50,7 +49,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
@@ -60,13 +60,12 @@ src_prepare() {
 
 src_install() {
        local DOCS=( *.txt )
+
        # Default build fails with parallel jobs,
        # https://github.com/steveicarus/iverilog/pull/294
-       emake installdirs DESTDIR="${D}"
+       emake installdirs DESTDIR="${ED}"
        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
 }

Reply via email to