1 |
commit: 97cf190347516fc2563e4ff2677b85361d165157 |
2 |
Author: Stefan Strogin <steils <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 17 22:28:01 2019 +0000 |
4 |
Commit: Stefan Strogin <steils <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 17 22:28:01 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97cf1903 |
7 |
|
8 |
games-board/mt_ncurses_client: fix building with ncurses[tinfo] |
9 |
|
10 |
Closes: https://bugs.gentoo.org/691016 |
11 |
Package-Manager: Portage-2.3.71, Repoman-2.3.17 |
12 |
Signed-off-by: Stefan Strogin <steils <AT> gentoo.org> |
13 |
|
14 |
games-board/mt_ncurses_client/mt_ncurses_client-0.1.98-r1.ebuild | 9 ++++++++- |
15 |
1 file changed, 8 insertions(+), 1 deletion(-) |
16 |
|
17 |
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 |
18 |
index cd247d29f41..f2228134f6d 100644 |
19 |
--- a/games-board/mt_ncurses_client/mt_ncurses_client-0.1.98-r1.ebuild |
20 |
+++ b/games-board/mt_ncurses_client/mt_ncurses_client-0.1.98-r1.ebuild |
21 |
@@ -1,8 +1,10 @@ |
22 |
-# Copyright 1999-2016 Gentoo Foundation |
23 |
+# Copyright 1999-2019 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=6 |
27 |
|
28 |
+inherit toolchain-funcs |
29 |
+ |
30 |
DESCRIPTION="client for the french tarot game maitretarot" |
31 |
HOMEPAGE="http://www.nongnu.org/maitretarot/" |
32 |
SRC_URI="https://savannah.nongnu.org/download/maitretarot/${PN}.pkg/${PV}/${P}.tar.bz2" |
33 |
@@ -22,3 +24,8 @@ RDEPEND=${DEPEND} |
34 |
PATCHES=( |
35 |
"${FILESDIR}"/${P}-format.patch |
36 |
) |
37 |
+ |
38 |
+src_configure() { |
39 |
+ export LIBS="$( $(tc-getPKG_CONFIG) --libs ncurses )" |
40 |
+ default |
41 |
+} |