commit:     de47aee45fc4d78212179938093608c03ce7cbeb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 15 04:35:53 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 15 04:35:53 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de47aee4

sci-libs/cln: fix build failure

autotools-utils can do out-of-source builds,
and it does by default, but we need to invoke
autotools-utils_src_configure for it to have
the right behaviour.

This is counterintuitive given more modern
examples like CMake use src_prepare for the
same functionality.

Fixes: 785c90cfa242ac84cff475d5ec5e7f0ed64c14c3
Bug: https://bugs.gentoo.org/725420
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/cln/cln-1.3.3.ebuild | 3 ++-
 sci-libs/cln/cln-1.3.4.ebuild | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/sci-libs/cln/cln-1.3.3.ebuild b/sci-libs/cln/cln-1.3.3.ebuild
index a8823500d1e..9687c7bb01a 100644
--- a/sci-libs/cln/cln-1.3.3.ebuild
+++ b/sci-libs/cln/cln-1.3.3.ebuild
@@ -36,7 +36,8 @@ src_prepare() {
 }
 
 src_configure() {
-       econf --disable-static
+       local myeconfargs=( --disable-static )
+       autotools-utils_src_configure
 }
 
 src_compile() {

diff --git a/sci-libs/cln/cln-1.3.4.ebuild b/sci-libs/cln/cln-1.3.4.ebuild
index da31581523e..29ac33c74b0 100644
--- a/sci-libs/cln/cln-1.3.4.ebuild
+++ b/sci-libs/cln/cln-1.3.4.ebuild
@@ -36,7 +36,8 @@ src_prepare() {
 }
 
 src_configure() {
-       econf --disable-static
+       local myeconfargs=( --disable-static )
+       autotools-utils_src_configure
 }
 
 src_compile() {

Reply via email to