1 |
commit: a652b0ad3bdc29210b8302ac5b882888daf1b625 |
2 |
Author: Stefan Strogin <steils <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 17 04:40:25 2019 +0000 |
4 |
Commit: Stefan Strogin <steils <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 17 04:42:32 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a652b0ad |
7 |
|
8 |
games-strategy/dopewars: fix building with ncurses[tinfo] |
9 |
|
10 |
Closes: https://bugs.gentoo.org/690782 |
11 |
Package-Manager: Portage-2.3.71, Repoman-2.3.17 |
12 |
Signed-off-by: Stefan Strogin <steils <AT> gentoo.org> |
13 |
|
14 |
games-strategy/dopewars/dopewars-1.5.12-r3.ebuild | 7 +++++-- |
15 |
1 file changed, 5 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/games-strategy/dopewars/dopewars-1.5.12-r3.ebuild b/games-strategy/dopewars/dopewars-1.5.12-r3.ebuild |
18 |
index 4d1c3843761..7da82083239 100644 |
19 |
--- a/games-strategy/dopewars/dopewars-1.5.12-r3.ebuild |
20 |
+++ b/games-strategy/dopewars/dopewars-1.5.12-r3.ebuild |
21 |
@@ -1,8 +1,9 @@ |
22 |
-# Copyright 1999-2018 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 |
-inherit desktop |
28 |
+ |
29 |
+inherit desktop toolchain-funcs |
30 |
|
31 |
DESCRIPTION="Re-Write of the game Drug Wars" |
32 |
HOMEPAGE="http://dopewars.sourceforge.net/" |
33 |
@@ -36,6 +37,8 @@ src_prepare() { |
34 |
-e "/\/doc\// s:DPDATADIR:\"/usr/share\":" \ |
35 |
-e 's:index.html:html/index.html:' \ |
36 |
src/dopewars.c || die |
37 |
+ sed -i -e "s/\-lncurses/$($(tc-getPKG_CONFIG) --libs ncurses)/g" \ |
38 |
+ configure || die |
39 |
} |
40 |
|
41 |
src_configure() { |