Gentoo Archives: gentoo-commits

From: "Azamat H. Hackimov" <winterheart@××××××.ru>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-strategy/curseofwar/
Date: Wed, 04 Mar 2020 00:08:38
Message-Id: 1583277061.e6eba1c51e1ad22bc6c5478ff6fa5b3ecaf88831.winterheart@gentoo
1 commit: e6eba1c51e1ad22bc6c5478ff6fa5b3ecaf88831
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Tue Mar 3 23:11:01 2020 +0000
4 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
5 CommitDate: Tue Mar 3 23:11:01 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=e6eba1c5
7
8 games-strategy/curseofwar: update package
9
10 Fixes compilation with curses, minor fixes.
11
12 Package-Manager: Portage-2.3.89, Repoman-2.3.20
13 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
14
15 .../{curseofwar-1.2.0.ebuild => curseofwar-1.2.0-r1.ebuild} | 6 +++---
16 1 file changed, 3 insertions(+), 3 deletions(-)
17
18 diff --git a/games-strategy/curseofwar/curseofwar-1.2.0.ebuild b/games-strategy/curseofwar/curseofwar-1.2.0-r1.ebuild
19 similarity index 84%
20 rename from games-strategy/curseofwar/curseofwar-1.2.0.ebuild
21 rename to games-strategy/curseofwar/curseofwar-1.2.0-r1.ebuild
22 index fbb4392..86934a4 100644
23 --- a/games-strategy/curseofwar/curseofwar-1.2.0.ebuild
24 +++ b/games-strategy/curseofwar/curseofwar-1.2.0-r1.ebuild
25 @@ -1,6 +1,5 @@
26 -# Copyright 1999-2018 Gentoo Authors
27 +# Copyright 1999-2020 Gentoo Authors
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: $
30
31 EAPI=6
32
33 @@ -23,7 +22,8 @@ RDEPEND="${DEPEND}"
34 src_prepare() {
35 default
36 sed -i -e "s:%VERSION%:${PV}:g" ${PN}{,-sdl}.6
37 - sed -i -e "s:/usr/local/share/:${GAMES_DATADIR}/:g" path.c
38 + sed -i -e "s:/usr/local/share/:/usr/share/:g" path.c
39 + sed -i -e "s:TARGET_LINK_LIBRARIES( curseofwar \${COMMON_LIBS} ncurses ):TARGET_LINK_LIBRARIES( curseofwar \${COMMON_LIBS} ncurses tinfo ):g" CMakeLists.txt
40 epatch "${FILESDIR}/${P}-fix-gcc-error-compilation.patch"
41 cmake-utils_src_prepare
42 }