From: Andreas Sturmlechner Date: Sun, 18 Feb 2018 22:37:38 +0000 (+0100) Subject: media-libs/libdc1394: Cleanup src_configure, use myeconfargs array X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=aaa83777f168cbf2115f660bdda0afc973b46ebf;p=gentoo.git media-libs/libdc1394: Cleanup src_configure, use myeconfargs array Package-Manager: Portage-2.3.24, Repoman-2.3.6 --- diff --git a/media-libs/libdc1394/libdc1394-2.2.5-r1.ebuild b/media-libs/libdc1394/libdc1394-2.2.5-r1.ebuild index 100614100ce5..2d692ec33d73 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() {