diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2020-01-09 09:57:24 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2020-01-09 09:57:51 +0100 |
commit | 24dab8a4443ded9b2f48f38a30f3c44524c9f5ac (patch) | |
tree | 8d636fad862fcd1239b8aea458b6c3f88bf37023 /dev-libs/libassuan | |
parent | sys-apps/util-linux: Bump to version 2.35_rc2. Removed old (diff) | |
download | gentoo-24dab8a4443ded9b2f48f38a30f3c44524c9f5ac.tar.gz gentoo-24dab8a4443ded9b2f48f38a30f3c44524c9f5ac.tar.bz2 gentoo-24dab8a4443ded9b2f48f38a30f3c44524c9f5ac.zip |
dev-libs/libassuan: Simplified ebuilds a bit
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'dev-libs/libassuan')
-rw-r--r-- | dev-libs/libassuan/libassuan-2.5.1-r1.ebuild | 12 | ||||
-rw-r--r-- | 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() { |