commit: b3993d22a39b98ec80e2a809402081a352438d81
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 15 23:39:02 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Oct 16 00:07:01 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3993d22
games-action/lugaru: [QA] Add cmake-utils_src_prepare
Package-Manager: Portage-2.3.11, Repoman-2.3.3
games-action/lugaru/lugaru-20151204-r1.ebuild | 3 ++-
games-action/lugaru/lugaru-20151204.ebuild | 7 +++++--
games-action/lugaru/lugaru-9999.ebuild | 3 ++-
3 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/games-action/lugaru/lugaru-20151204-r1.ebuild
b/games-action/lugaru/lugaru-20151204-r1.ebuild
index ac9ad89e8c7..f53cecb8d74 100644
--- a/games-action/lugaru/lugaru-20151204-r1.ebuild
+++ b/games-action/lugaru/lugaru-20151204-r1.ebuild
@@ -30,7 +30,8 @@ PATCHES=(
)
src_prepare() {
- default
+ cmake-utils_src_prepare
+
sed -i \
-e "s:@GENTOO_DIR@:/usr/share/${PN}:" \
Source/OpenGL_Windows.cpp || die
diff --git a/games-action/lugaru/lugaru-20151204.ebuild
b/games-action/lugaru/lugaru-20151204.ebuild
index 0a4ed3e8879..3944efc4601 100644
--- a/games-action/lugaru/lugaru-20151204.ebuild
+++ b/games-action/lugaru/lugaru-20151204.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -25,8 +25,11 @@ RDEPEND="
DEPEND="${RDEPEND}
virtual/pkgconfig"
+PATCHES=( "${FILESDIR}/${P}-dir.patch" )
+
src_prepare() {
- epatch "${FILESDIR}/${P}-dir.patch"
+ cmake-utils_src_prepare
+
sed -i \
-e "s:@GENTOO_DIR@:${GAMES_DATADIR}/${PN}:" \
Source/OpenGL_Windows.cpp || die
diff --git a/games-action/lugaru/lugaru-9999.ebuild
b/games-action/lugaru/lugaru-9999.ebuild
index c447775fa52..2e65288097b 100644
--- a/games-action/lugaru/lugaru-9999.ebuild
+++ b/games-action/lugaru/lugaru-9999.ebuild
@@ -35,7 +35,8 @@ PATCHES=(
)
src_prepare() {
- default
+ cmake-utils_src_prepare
+
sed -i \
-e "s:@GENTOO_DIR@:/usr/share/${PN}:" \
Source/OpenGL_Windows.cpp || die