From: Lars Wendler Date: Thu, 9 Jan 2020 08:57:24 +0000 (+0100) Subject: dev-libs/libassuan: Simplified ebuilds a bit X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=24dab8a4443ded9b2f48f38a30f3c44524c9f5ac;p=gentoo.git dev-libs/libassuan: Simplified ebuilds a bit Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Lars Wendler --- diff --git a/dev-libs/libassuan/libassuan-2.5.1-r1.ebuild b/dev-libs/libassuan/libassuan-2.5.1-r1.ebuild index 5ad1133fd205..1243768e5c14 100644 --- a/dev-libs/libassuan/libassuan-2.5.1-r1.ebuild +++ b/dev-libs/libassuan/libassuan-2.5.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -33,10 +33,12 @@ src_prepare() { } src_configure() { - econf \ - $(use_enable static-libs static) \ - GPG_ERROR_CONFIG="${EROOT}/usr/bin/${CHOST}-gpg-error-config" \ - $("${S}/configure" --help | grep -- '--without-.*-prefix' | sed -e 's/^ *\([^ ]*\) .*/\1/g') + local myeconfargs=( + $(use_enable static-libs static) + GPG_ERROR_CONFIG="${EROOT}/usr/bin/${CHOST}-gpg-error-config" + $("${S}/configure" --help | grep -o -- '--without-.*-prefix') + ) + econf "${myeconfargs[@]}" } src_install() { diff --git a/dev-libs/libassuan/libassuan-2.5.3.ebuild b/dev-libs/libassuan/libassuan-2.5.3.ebuild index 8a00919e7748..aca104db0f04 100644 --- a/dev-libs/libassuan/libassuan-2.5.3.ebuild +++ b/dev-libs/libassuan/libassuan-2.5.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -33,10 +33,12 @@ src_prepare() { } src_configure() { - econf \ - $(use_enable static-libs static) \ - GPG_ERROR_CONFIG="${EROOT}/usr/bin/${CHOST}-gpg-error-config" \ - $("${S}/configure" --help | grep -- '--without-.*-prefix' | sed -e 's/^ *\([^ ]*\) .*/\1/g') + local myeconfargs=( + $(use_enable static-libs static) + GPG_ERROR_CONFIG="${EROOT}/usr/bin/${CHOST}-gpg-error-config" + $("${S}/configure" --help | grep -o -- '--without-.*-prefix') + ) + econf "${myeconfargs[@]}" } src_install() {