From 24dab8a4443ded9b2f48f38a30f3c44524c9f5ac Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Thu, 9 Jan 2020 09:57:24 +0100 Subject: [PATCH] dev-libs/libassuan: Simplified ebuilds a bit Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Lars Wendler --- dev-libs/libassuan/libassuan-2.5.1-r1.ebuild | 12 +++++++----- dev-libs/libassuan/libassuan-2.5.3.ebuild | 12 +++++++----- 2 files changed, 14 insertions(+), 10 deletions(-) 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() { -- 2.26.2