1 |
commit: aaa83777f168cbf2115f660bdda0afc973b46ebf |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 18 22:37:38 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 19 10:17:04 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaa83777 |
7 |
|
8 |
media-libs/libdc1394: Cleanup src_configure, use myeconfargs array |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
media-libs/libdc1394/libdc1394-2.2.5-r1.ebuild | 19 ++++++++++--------- |
13 |
1 file changed, 10 insertions(+), 9 deletions(-) |
14 |
|
15 |
diff --git a/media-libs/libdc1394/libdc1394-2.2.5-r1.ebuild b/media-libs/libdc1394/libdc1394-2.2.5-r1.ebuild |
16 |
index 100614100ce..2d692ec33d7 100644 |
17 |
--- a/media-libs/libdc1394/libdc1394-2.2.5-r1.ebuild |
18 |
+++ b/media-libs/libdc1394/libdc1394-2.2.5-r1.ebuild |
19 |
@@ -30,15 +30,16 @@ src_prepare() { |
20 |
} |
21 |
|
22 |
multilib_src_configure() { |
23 |
- local myconf="$(use_enable doc doxygen-html)" |
24 |
- multilib_is_native_abi || myconf="--disable-doxygen-html --disable-examples" |
25 |
- |
26 |
- # X is only useful for examples that are not installed. |
27 |
- ECONF_SOURCE="${S}" econf \ |
28 |
- $(use_enable static-libs static) \ |
29 |
- --program-suffix=2 \ |
30 |
- --without-x \ |
31 |
- ${myconf} |
32 |
+ local myeconfargs=( |
33 |
+ $(use_enable doc doxygen-html) |
34 |
+ $(use_enable static-libs static) |
35 |
+ --program-suffix=2 |
36 |
+ --without-x # only useful for (disabled) examples |
37 |
+ ) |
38 |
+ |
39 |
+ multilib_is_native_abi || myeconfargs+=( --disable-doxygen-html --disable-examples ) |
40 |
+ |
41 |
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
42 |
} |
43 |
|
44 |
multilib_src_compile() { |