1 |
commit: 94f05014955f601db439ade99ae3b2d4fa603157 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 29 19:12:44 2017 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 29 19:16:02 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94f05014 |
7 |
|
8 |
net-im/openmittsu: Add explicit src_configure too. |
9 |
|
10 |
Folks in #-qa seem to prefer imperative to declarative style. :) |
11 |
|
12 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
13 |
|
14 |
net-im/openmittsu/openmittsu-0.9.2_p75.ebuild | 16 +++++++++++----- |
15 |
1 file changed, 11 insertions(+), 5 deletions(-) |
16 |
|
17 |
diff --git a/net-im/openmittsu/openmittsu-0.9.2_p75.ebuild b/net-im/openmittsu/openmittsu-0.9.2_p75.ebuild |
18 |
index 7b6b65d..f7ee98d 100644 |
19 |
--- a/net-im/openmittsu/openmittsu-0.9.2_p75.ebuild |
20 |
+++ b/net-im/openmittsu/openmittsu-0.9.2_p75.ebuild |
21 |
@@ -26,12 +26,12 @@ DEPEND=">=dev-libs/libsodium-1.0.11:= |
22 |
RDEPEND="${DEPEND}" |
23 |
|
24 |
S="${WORKDIR}/${MY_P}" |
25 |
-PATCHES=("${FILESDIR}/${P}-libsodium-so.patch") |
26 |
-MYCMAKEARGS="-DOPENMITTSU_DISABLE_VERSION_UPDATE_CHECK=ON" |
27 |
|
28 |
-DOCS="README.md |
29 |
- Example-client-configuration-file.ini |
30 |
- Example-contacts-file.txt" |
31 |
+DOCS=( |
32 |
+ "README.md" |
33 |
+ "Example-client-configuration-file.ini" |
34 |
+ "Example-contacts-file.txt" |
35 |
+) |
36 |
|
37 |
src_prepare() { |
38 |
# set version manually, since autodetection works only with git |
39 |
@@ -39,5 +39,11 @@ src_prepare() { |
40 |
s/.*/set(OPENMITTSU_GIT_VERSION_STRING \"${PV/_p/-}-00000000\")/" \ |
41 |
CMakeLists.txt || die |
42 |
|
43 |
+ eapply "${FILESDIR}"/${P}-libsodium-so.patch |
44 |
cmake-utils_src_prepare |
45 |
} |
46 |
+ |
47 |
+src_configure() { |
48 |
+ local mycmakeargs=("-DOPENMITTSU_DISABLE_VERSION_UPDATE_CHECK=ON") |
49 |
+ cmake-utils_src_configure |
50 |
+} |