1 |
commit: f763f3c29d7d02df985ff62778c5596be388940b |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 15 23:44:13 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 16 00:07:22 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f763f3c2 |
7 |
|
8 |
games-arcade/slimevolley: [QA] Add cmake-utils_src_prepare |
9 |
|
10 |
Package-Manager: Portage-2.3.11, Repoman-2.3.3 |
11 |
|
12 |
games-arcade/slimevolley/slimevolley-2.4.2.ebuild | 14 +++++++++----- |
13 |
1 file changed, 9 insertions(+), 5 deletions(-) |
14 |
|
15 |
diff --git a/games-arcade/slimevolley/slimevolley-2.4.2.ebuild b/games-arcade/slimevolley/slimevolley-2.4.2.ebuild |
16 |
index 491ae9f18fc..4e1de9bd483 100644 |
17 |
--- a/games-arcade/slimevolley/slimevolley-2.4.2.ebuild |
18 |
+++ b/games-arcade/slimevolley/slimevolley-2.4.2.ebuild |
19 |
@@ -1,4 +1,4 @@ |
20 |
-# Copyright 1999-2015 Gentoo Foundation |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
EAPI=5 |
25 |
@@ -28,11 +28,15 @@ PATCHES=( "${FILESDIR}"/${P}-nodatalocal.patch |
26 |
|
27 |
S=${WORKDIR}/${PN} |
28 |
|
29 |
+src_prepare() { |
30 |
+ cmake-utils_src_prepare |
31 |
+} |
32 |
+ |
33 |
src_configure() { |
34 |
- mycmakeargs=( |
35 |
- "-DCMAKE_VERBOSE_MAKEFILE=TRUE" |
36 |
- "-DBIN_DIR=${GAMES_BINDIR}" |
37 |
- $(use net && echo "-DNO_NET=0" || echo "-DNO_NET=1") |
38 |
+ local mycmakeargs=( |
39 |
+ "-DCMAKE_VERBOSE_MAKEFILE=TRUE" |
40 |
+ "-DBIN_DIR=${GAMES_BINDIR}" |
41 |
+ $(use net && echo "-DNO_NET=0" || echo "-DNO_NET=1") |
42 |
) |
43 |
cmake-utils_src_configure |
44 |
} |