summaryrefslogtreecommitdiff
path: root/sci-physics/lhapdf/lhapdf-9999.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-19 06:30:51 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-19 06:30:51 +0000
commitf8bb2d659372d0add11c589dcb006d0b7f8822ae (patch)
tree5d64f4f593db363260360200660abcd8ff00d1c6 /sci-physics/lhapdf/lhapdf-9999.ebuild
parentf57e008aa126ccdca95f7424e4d24a1a83a49682 (diff)
gentoo auto-resync : 19:12:2024 - 06:30:51HEADmaster
Diffstat (limited to 'sci-physics/lhapdf/lhapdf-9999.ebuild')
-rw-r--r--sci-physics/lhapdf/lhapdf-9999.ebuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/sci-physics/lhapdf/lhapdf-9999.ebuild b/sci-physics/lhapdf/lhapdf-9999.ebuild
index d950f1329d20..c0934bb24f79 100644
--- a/sci-physics/lhapdf/lhapdf-9999.ebuild
+++ b/sci-physics/lhapdf/lhapdf-9999.ebuild
@@ -26,7 +26,7 @@ if [[ ${PV} == 9999 ]]; then
else
SRC_URI="https://www.hepforge.org/downloads/lhapdf/${MY_PF}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PF}"
- KEYWORDS="amd64"
+ KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-2"
@@ -34,7 +34,10 @@ SLOT="0"
IUSE="examples +python"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-RDEPEND="python? ( ${PYTHON_DEPS} )"
+RDEPEND="
+ dev-cpp/yaml-cpp
+ python? ( ${PYTHON_DEPS} )
+"
DEPEND="${RDEPEND}"
BDEPEND="
python? (
@@ -55,9 +58,10 @@ src_prepare() {
}
src_configure() {
- CONFIG_SHELL="${EPREFIX}/bin/bash" \
+ local -x CONFIG_SHELL="${EPREFIX}/bin/bash"
econf \
--disable-static \
+ --with-yaml-cpp="${EPREFIX}/usr" \
$(use_enable python)
}