games-board/mt_ncurses_client: fix building with ncurses[tinfo]
authorStefan Strogin <steils@gentoo.org>
Sat, 17 Aug 2019 22:28:01 +0000 (01:28 +0300)
committerStefan Strogin <steils@gentoo.org>
Sat, 17 Aug 2019 22:28:01 +0000 (01:28 +0300)
Closes: https://bugs.gentoo.org/691016
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Stefan Strogin <steils@gentoo.org>
games-board/mt_ncurses_client/mt_ncurses_client-0.1.98-r1.ebuild

index cd247d29f412aa6b6dd62edfd79320ba4178e9f2..f2228134f6ddec180695c1c13e10a8f37fd232b4 100644 (file)
@@ -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
+}