From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F1D5F1382C5 for ; Sat, 6 Jun 2020 00:28:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2EC18E0822; Sat, 6 Jun 2020 00:28:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1613BE0822 for ; Sat, 6 Jun 2020 00:28:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 682FF34F1F9 for ; Sat, 6 Jun 2020 00:28:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5DD06268 for ; Sat, 6 Jun 2020 00:28:10 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1591403275.addfd7ac7105505bad401888777d74bc30dd7ee9.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/sundials/sundials-3.2.1.ebuild X-VCS-Directories: sci-libs/sundials/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: addfd7ac7105505bad401888777d74bc30dd7ee9 X-VCS-Branch: master Date: Sat, 6 Jun 2020 00:28:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c6109841-e2e0-4a5f-8153-48e056887f17 X-Archives-Hash: 286fa9d2d09f1b7e574b3258b22e9efe commit: addfd7ac7105505bad401888777d74bc30dd7ee9 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Jun 6 00:27:44 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Jun 6 00:27:55 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=addfd7ac sci-libs/sundials: Fix unused CMake variables Closes: https://bugs.gentoo.org/659268 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner gentoo.org> sci-libs/sundials/sundials-3.2.1.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/sci-libs/sundials/sundials-3.2.1.ebuild b/sci-libs/sundials/sundials-3.2.1.ebuild index 18dd6bbaa8d..36bca3f96aa 100644 --- a/sci-libs/sundials/sundials-3.2.1.ebuild +++ b/sci-libs/sundials/sundials-3.2.1.ebuild @@ -47,19 +47,23 @@ src_configure() { -DHYPRE_ENABLE="$(usex hypre)" -DHYPRE_INCLUDE_DIR="${EPREFIX}/usr/include/hypre" -DKLU_ENABLE="$(usex sparse)" - -DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so" -DLAPACK_ENABLE="$(usex lapack)" -DMPI_ENABLE="$(usex mpi)" -DOPENMP_ENABLE="$(usex openmp)" -DPTHREAD_ENABLE="$(usex threads)" -DSUPERLUMT_ENABLE="$(usex superlumt)" - -DSUPERLUMT_INCLUDE_DIR="${EPREFIX}/usr/include/superlu_mt" - -DSUPERLUMT_LIBRARY="superlu_mt" -DEXAMPLES_ENABLE="$(usex examples)" -DEXAMPLES_INSTALL=ON -DEXAMPLES_INSTALL_PATH="/usr/share/doc/${PF}/examples" -DUSE_GENERIC_MATH=ON ) + use sparse && mycmakeargs+=( + -DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so" + ) + use superlumt && mycmakeargs+=( + -DSUPERLUMT_INCLUDE_DIR="${EPREFIX}/usr/include/superlu_mt" + -DSUPERLUMT_LIBRARY="superlu_mt" + ) cmake-utils_src_configure }