Signed-off-by: Florian Schmaus <f...@gentoo.org> --- eclass/texlive-module.eclass | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass index afcd4532975a..d1bf0f86185b 100644 --- a/eclass/texlive-module.eclass +++ b/eclass/texlive-module.eclass @@ -85,6 +85,12 @@ HOMEPAGE="https://www.tug.org/texlive/" IUSE="doc source" +if [[ -z ${TL_PV} ]] \ + && [[ ${EAPI} -ge 8 ]] \ + && [[ ${CATEGORY} == dev-texlive ]]; then + TL_PV=$(ver_cut 1) +fi + RDEPEND=">=app-text/texlive-core-${TL_PV:-${PV}}" # We do not need anything from SYSROOT: # Everything is built from the texlive install in / -- 2.43.0