summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-02-18 23:37:38 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-02-19 11:17:04 +0100
commitaaa83777f168cbf2115f660bdda0afc973b46ebf (patch)
tree785b9617b642d9d2661de800eed8dd5986743629 /media-libs/libdc1394
parentmedia-libs/libdc1394: EAPI 6 bump (diff)
downloadgentoo-aaa83777f168cbf2115f660bdda0afc973b46ebf.tar.gz
gentoo-aaa83777f168cbf2115f660bdda0afc973b46ebf.tar.bz2
gentoo-aaa83777f168cbf2115f660bdda0afc973b46ebf.zip
media-libs/libdc1394: Cleanup src_configure, use myeconfargs array
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'media-libs/libdc1394')
-rw-r--r--media-libs/libdc1394/libdc1394-2.2.5-r1.ebuild19
1 files 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() {