From 4f65714107028a14583d4239c051a7673d47a79d Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Wed, 6 Oct 2021 16:21:00 +0200 Subject: [PATCH] sci-physics/mbdyn: fix configure option Closes: https://bugs.gentoo.org/816552 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri --- sci-physics/mbdyn/mbdyn-1.7.3_p20210925.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sci-physics/mbdyn/mbdyn-1.7.3_p20210925.ebuild b/sci-physics/mbdyn/mbdyn-1.7.3_p20210925.ebuild index 5750bf3dff..6fecb6acbb 100644 --- a/sci-physics/mbdyn/mbdyn-1.7.3_p20210925.ebuild +++ b/sci-physics/mbdyn/mbdyn-1.7.3_p20210925.ebuild @@ -223,11 +223,12 @@ src_configure() { $(use_with sparse suitesparseqr) $(use_with sparse umfpack) $(use_with superlu) - $(use_with taucs) $(use_with threads) $(use_with y12) ) + use taucs && myconf+=( "--with-taucs" ) + if ( use autodiff && use sparse ); then myconf+=( "--enable-sparse-autodiff" ) else