summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-16 19:25:04 +0100
committerSam James <sam@gentoo.org>2021-04-18 07:03:51 +0100
commite1b4eb4719ca0ea10ae37de398470745781a8a63 (patch)
tree4b4d22cf6055ad52cd39a7b17f637493d300b64f /sci-electronics/spice
parentsci-electronics/quartus-prime-lite: eutils->epatch (diff)
downloadgentoo-e1b4eb4719ca0ea10ae37de398470745781a8a63.tar.gz
gentoo-e1b4eb4719ca0ea10ae37de398470745781a8a63.tar.bz2
gentoo-e1b4eb4719ca0ea10ae37de398470745781a8a63.zip
sci-electronics/spice: eutils--, multilib--, improve ncurses fix
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-electronics/spice')
-rw-r--r--sci-electronics/spice/spice-3.5.5-r2.ebuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/sci-electronics/spice/spice-3.5.5-r2.ebuild b/sci-electronics/spice/spice-3.5.5-r2.ebuild
index 3b1e87cbbb5b..45cf153cde8a 100644
--- a/sci-electronics/spice/spice-3.5.5-r2.ebuild
+++ b/sci-electronics/spice/spice-3.5.5-r2.ebuild
@@ -1,10 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
-inherit eutils flag-o-matic multilib
-IUSE=""
+inherit flag-o-matic toolchain-funcs
MY_P="spice3f5sfix"
DESCRIPTION="general-purpose circuit simulation program"
@@ -47,9 +46,7 @@ src_prepare() {
src/lib/fte/misccoms.c || die
# fix missing libtinfo if ncurses compiled with USE=tinfo (bug #605718)
- if has_version 'sys-libs/ncurses:0[tinfo]' ;then
- sed -i -e "s:-lncurses:-lncurses -ltinfo:g" conf/linux || die
- fi
+ sed -i -e "s:-lncurses:$($(tc-getPKG_CONFIG) --libs ncurses):g" conf/linux || die
eapply_user
}