summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}