commit: aaa83777f168cbf2115f660bdda0afc973b46ebf
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 18 22:37:38 2018 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Feb 19 10:17:04 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaa83777
media-libs/libdc1394: Cleanup src_configure, use myeconfargs array
Package-Manager: Portage-2.3.24, Repoman-2.3.6
media-libs/libdc1394/libdc1394-2.2.5-r1.ebuild | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/media-libs/libdc1394/libdc1394-2.2.5-r1.ebuild
b/media-libs/libdc1394/libdc1394-2.2.5-r1.ebuild
index 100614100ce..2d692ec33d7 100644
--- a/media-libs/libdc1394/libdc1394-2.2.5-r1.ebuild
+++ b/media-libs/libdc1394/libdc1394-2.2.5-r1.ebuild
@@ -30,15 +30,16 @@ src_prepare() {
}
multilib_src_configure() {
- local myconf="$(use_enable doc doxygen-html)"
- multilib_is_native_abi || myconf="--disable-doxygen-html
--disable-examples"
-
- # X is only useful for examples that are not installed.
- ECONF_SOURCE="${S}" econf \
- $(use_enable static-libs static) \
- --program-suffix=2 \
- --without-x \
- ${myconf}
+ local myeconfargs=(
+ $(use_enable doc doxygen-html)
+ $(use_enable static-libs static)
+ --program-suffix=2
+ --without-x # only useful for (disabled) examples
+ )
+
+ multilib_is_native_abi || myeconfargs+=( --disable-doxygen-html
--disable-examples )
+
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
}
multilib_src_compile() {