From e1b4eb4719ca0ea10ae37de398470745781a8a63 Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 16 Apr 2021 19:25:04 +0100 Subject: sci-electronics/spice: eutils--, multilib--, improve ncurses fix Signed-off-by: Sam James --- sci-electronics/spice/spice-3.5.5-r2.ebuild | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'sci-electronics/spice') 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 } -- cgit v1.2.3-65-gdbad