commit:     54998eaa4f10c368088a3f5a8dabe98617153e89
Author:     Nils Freydank <holgersson <AT> posteo <DOT> de>
AuthorDate: Mon Mar  2 22:24:41 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Mar 16 21:25:44 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54998eaa

dev-libs/liborcus: Update live ebuild

Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Nils Freydank <holgersson <AT> posteo.de>
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-libs/liborcus/liborcus-9999.ebuild | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/dev-libs/liborcus/liborcus-9999.ebuild 
b/dev-libs/liborcus/liborcus-9999.ebuild
index f5373a25806..91bbf3019d2 100644
--- a/dev-libs/liborcus/liborcus-9999.ebuild
+++ b/dev-libs/liborcus/liborcus-9999.ebuild
@@ -39,16 +39,18 @@ pkg_setup() {
 
 src_prepare() {
        default
-       [[ ${PV} == 9999 ]] && eautoreconf
+       [[ ${PV} == *9999 ]] && eautoreconf
 }
 
 src_configure() {
-       econf \
-               --disable-werror \
-               $(use_enable python) \
-               $(use_enable spreadsheet-model) \
-               $(use_enable static-libs static) \
+       local myeconfargs=(
+               --disable-werror
+               $(use_enable python)
+               $(use_enable spreadsheet-model)
+               $(use_enable static-libs static)
                $(use_with tools)
+       )
+       econf "${myeconfargs[@]}"
 }
 
 src_install() {

Reply via email to