commit:     97cf190347516fc2563e4ff2677b85361d165157
Author:     Stefan Strogin <steils <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 17 22:28:01 2019 +0000
Commit:     Stefan Strogin <steils <AT> gentoo <DOT> org>
CommitDate: Sat Aug 17 22:28:01 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97cf1903

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 <steils <AT> gentoo.org>

 games-board/mt_ncurses_client/mt_ncurses_client-0.1.98-r1.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

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 cd247d29f41..f2228134f6d 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
+}

Reply via email to