commit:     8a1f03945e92dac18f150996edae6f9c10911b97
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Sun Jun 16 23:15:41 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jun 17 01:46:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a1f0394

sci-libs/cholmod: fix missing autotools in src_prepare

Fixes regression caused by introducing a gentoo patch that modifies
Makefile.am, but doesn't guarantee that it is regenerated in
src_configure() -- or indeed that it has the necessary dependencies.

Fixes: 6c0474cc8a08172cdc244af680edba8be5ada95b
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/cholmod/cholmod-3.0.13.ebuild    | 6 ++++--
 sci-libs/cholmod/cholmod-3.0.14-r1.ebuild | 4 +++-
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/sci-libs/cholmod/cholmod-3.0.13.ebuild 
b/sci-libs/cholmod/cholmod-3.0.13.ebuild
index bc2fdd2aa62d..ff0f058dd29e 100644
--- a/sci-libs/cholmod/cholmod-3.0.13.ebuild
+++ b/sci-libs/cholmod/cholmod-3.0.13.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit cuda toolchain-funcs
+inherit autotools cuda toolchain-funcs
 
 DESCRIPTION="Sparse Cholesky factorization and update/downdate library"
 HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html";
@@ -39,6 +39,8 @@ src_prepare() {
        use cuda && cuda_src_prepare
 
        default
+       # patch is modifying Makefile.am
+       eautoreconf
 }
 
 src_configure() {

diff --git a/sci-libs/cholmod/cholmod-3.0.14-r1.ebuild 
b/sci-libs/cholmod/cholmod-3.0.14-r1.ebuild
index 669494c2ea85..39f7dc95b12b 100644
--- a/sci-libs/cholmod/cholmod-3.0.14-r1.ebuild
+++ b/sci-libs/cholmod/cholmod-3.0.14-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cuda toolchain-funcs
+inherit autotools cuda toolchain-funcs
 
 DESCRIPTION="Sparse Cholesky factorization and update/downdate library"
 HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html";
@@ -39,6 +39,8 @@ src_prepare() {
        use cuda && cuda_src_prepare
 
        default
+       # patch is modifying Makefile.am
+       eautoreconf
 }
 
 src_configure() {

Reply via email to