From: Stefan Strogin Date: Sat, 17 Aug 2019 22:28:01 +0000 (+0300) Subject: games-board/mt_ncurses_client: fix building with ncurses[tinfo] X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=97cf190347516fc2563e4ff2677b85361d165157;p=gentoo.git games-board/mt_ncurses_client: fix building with ncurses[tinfo] Closes: https://bugs.gentoo.org/691016 Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Stefan Strogin --- diff --git a/games-board/mt_ncurses_client/mt_ncurses_client-0.1.98-r1.ebuild b/games-board/mt_ncurses_client/mt_ncurses_client-0.1.98-r1.ebuild index cd247d29f412..f2228134f6dd 100644 --- a/games-board/mt_ncurses_client/mt_ncurses_client-0.1.98-r1.ebuild +++ b/games-board/mt_ncurses_client/mt_ncurses_client-0.1.98-r1.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 +inherit toolchain-funcs + DESCRIPTION="client for the french tarot game maitretarot" HOMEPAGE="http://www.nongnu.org/maitretarot/" SRC_URI="https://savannah.nongnu.org/download/maitretarot/${PN}.pkg/${PV}/${P}.tar.bz2" @@ -22,3 +24,8 @@ RDEPEND=${DEPEND} PATCHES=( "${FILESDIR}"/${P}-format.patch ) + +src_configure() { + export LIBS="$( $(tc-getPKG_CONFIG) --libs ncurses )" + default +}