summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-strategy/curseofwar/curseofwar-1.2.0-r1.ebuild (renamed from games-strategy/curseofwar/curseofwar-1.2.0.ebuild)6
1 files changed, 3 insertions, 3 deletions
diff --git a/games-strategy/curseofwar/curseofwar-1.2.0.ebuild b/games-strategy/curseofwar/curseofwar-1.2.0-r1.ebuild
index fbb4392..86934a4 100644
--- a/games-strategy/curseofwar/curseofwar-1.2.0.ebuild
+++ b/games-strategy/curseofwar/curseofwar-1.2.0-r1.ebuild
@@ -1,6 +1,5 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-# $Header: $
EAPI=6
@@ -23,7 +22,8 @@ RDEPEND="${DEPEND}"
src_prepare() {
default
sed -i -e "s:%VERSION%:${PV}:g" ${PN}{,-sdl}.6
- sed -i -e "s:/usr/local/share/:${GAMES_DATADIR}/:g" path.c
+ sed -i -e "s:/usr/local/share/:/usr/share/:g" path.c
+ sed -i -e "s:TARGET_LINK_LIBRARIES( curseofwar \${COMMON_LIBS} ncurses ):TARGET_LINK_LIBRARIES( curseofwar \${COMMON_LIBS} ncurses tinfo ):g" CMakeLists.txt
epatch "${FILESDIR}/${P}-fix-gcc-error-compilation.patch"
cmake-utils_src_prepare
}