From 44d876fa0ae1e1410845269e2819d415c59d47a8 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Mon, 5 Aug 2024 14:09:11 -0400 Subject: sci-mathematics/jags: add missing automagic dependency ltdl is internally used, and also included as a "convenience copy". If it's not available on the system then the code copy is used; if it is available, we have a missing runtime dep. The bundled copy also results in an LTO error. Closes: https://bugs.gentoo.org/927674 Signed-off-by: Eli Schwartz --- sci-mathematics/jags/jags-4.3.1-r1.ebuild | 48 +++++++++++++++++++++++++++++++ sci-mathematics/jags/jags-4.3.1.ebuild | 47 ------------------------------ 2 files changed, 48 insertions(+), 47 deletions(-) create mode 100644 sci-mathematics/jags/jags-4.3.1-r1.ebuild delete mode 100644 sci-mathematics/jags/jags-4.3.1.ebuild (limited to 'sci-mathematics') diff --git a/sci-mathematics/jags/jags-4.3.1-r1.ebuild b/sci-mathematics/jags/jags-4.3.1-r1.ebuild new file mode 100644 index 000000000000..46f46bbac45e --- /dev/null +++ b/sci-mathematics/jags/jags-4.3.1-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +MYP="JAGS-${PV}" + +DESCRIPTION="Just Another Gibbs Sampler for Bayesian MCMC simulation" +HOMEPAGE="https://mcmc-jags.sourceforge.io/" +SRC_URI="https://downloads.sourceforge.net/project/mcmc-jags/JAGS/$(ver_cut 1).x/Source/${MYP}.tar.gz" +S="${WORKDIR}/${MYP}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc" + +RDEPEND=" + dev-libs/libltdl + virtual/blas + virtual/lapack +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + doc? ( + virtual/latex-base + dev-texlive/texlive-latexextra + ) +" + +src_configure() { + econf \ + --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \ + --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" +} + +src_compile() { + emake all $(usev doc docs) +} + +src_install() { + default + use doc && dodoc doc/manual/*.pdf + find "${ED}" -name '*.la' -delete || die +} diff --git a/sci-mathematics/jags/jags-4.3.1.ebuild b/sci-mathematics/jags/jags-4.3.1.ebuild deleted file mode 100644 index 24618ca40553..000000000000 --- a/sci-mathematics/jags/jags-4.3.1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -MYP="JAGS-${PV}" - -DESCRIPTION="Just Another Gibbs Sampler for Bayesian MCMC simulation" -HOMEPAGE="https://mcmc-jags.sourceforge.io/" -SRC_URI="https://downloads.sourceforge.net/project/mcmc-jags/JAGS/$(ver_cut 1).x/Source/${MYP}.tar.gz" -S="${WORKDIR}/${MYP}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc" - -RDEPEND=" - virtual/blas - virtual/lapack -" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( - virtual/latex-base - dev-texlive/texlive-latexextra - ) -" - -src_configure() { - econf \ - --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \ - --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" -} - -src_compile() { - emake all $(usev doc docs) -} - -src_install() { - default - use doc && dodoc doc/manual/*.pdf - find "${ED}" -name '*.la' -delete || die -} -- cgit v1.2.3-65-gdbad