commit: ff2f0f1980193043ba39f47599d4cae15be6649c Author: Alexander Puck Neuwirth <apn-pucky <AT> gentoo <DOT> org> AuthorDate: Sun Oct 19 23:34:08 2025 +0000 Commit: Alexander Puck Neuwirth <apn-pucky <AT> gentoo <DOT> org> CommitDate: Wed Oct 29 14:33:18 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff2f0f19
sci-physics/lhapdf: expose USE static-libs This is needed by sci-physics/madgraph5::sci See-also: https://github.com/gentoo/sci/pull/1380 Part-of: https://github.com/gentoo/gentoo/pull/44219 Closes: https://github.com/gentoo/gentoo/pull/44219 Signed-off-by: Alexander Puck Neuwirth <apn-pucky <AT> gentoo.org> .../lhapdf/{lhapdf-9999.ebuild => lhapdf-6.5.5-r2.ebuild} | 14 ++++---------- sci-physics/lhapdf/lhapdf-9999.ebuild | 6 +++--- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/sci-physics/lhapdf/lhapdf-9999.ebuild b/sci-physics/lhapdf/lhapdf-6.5.5-r2.ebuild similarity index 86% copy from sci-physics/lhapdf/lhapdf-9999.ebuild copy to sci-physics/lhapdf/lhapdf-6.5.5-r2.ebuild index d8b9005b0cc5..c3fe15c88745 100644 --- a/sci-physics/lhapdf/lhapdf-9999.ebuild +++ b/sci-physics/lhapdf/lhapdf-6.5.5-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,7 @@ DOCS_DEPEND=" dev-texlive/texlive-latex dev-texlive/texlive-latexextra " -inherit python-single-r1 docs autotools +inherit python-single-r1 docs MY_PV=$(ver_cut 1-3) MY_PF=LHAPDF-${MY_PV} @@ -31,7 +31,7 @@ fi LICENSE="GPL-2" SLOT="0" -IUSE="examples +python" +IUSE="examples static-libs +python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" RDEPEND=" @@ -51,16 +51,10 @@ pkg_setup() { use python && python-single-r1_pkg_setup } -src_prepare() { - default - # live git does not have a configure script - eautoreconf -} - src_configure() { local -x CONFIG_SHELL="${BROOT}/bin/bash" econf \ - --disable-static \ + $(use_enable static-libs static) \ --with-yaml-cpp="${ESYSROOT}/usr" \ $(use_enable python) \ $(use_enable doc doxygen) diff --git a/sci-physics/lhapdf/lhapdf-9999.ebuild b/sci-physics/lhapdf/lhapdf-9999.ebuild index d8b9005b0cc5..35937c2df029 100644 --- a/sci-physics/lhapdf/lhapdf-9999.ebuild +++ b/sci-physics/lhapdf/lhapdf-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -31,7 +31,7 @@ fi LICENSE="GPL-2" SLOT="0" -IUSE="examples +python" +IUSE="examples static-libs +python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" RDEPEND=" @@ -60,7 +60,7 @@ src_prepare() { src_configure() { local -x CONFIG_SHELL="${BROOT}/bin/bash" econf \ - --disable-static \ + $(use_enable static-libs static) \ --with-yaml-cpp="${ESYSROOT}/usr" \ $(use_enable python) \ $(use_enable doc doxygen)
