commit: 60a4b74e3d586f78bfdad802aaf313541f26fb62 Author: David Michael <fedora.dm0 <AT> gmail <DOT> com> AuthorDate: Mon Mar 15 18:11:26 2021 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Fri Mar 26 21:32:03 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60a4b74e
font.eclass: use BDEPEND with EAPI 7 The mkfontscale program and encodings paths are used in the native root during src_install, so they need to be in BDEPEND. Also stop documenting DOCS as an eclass variable since it is a part of EAPI 6 and only used in eutils.eclass for EAPI 5 support. Closes: https://bugs.gentoo.org/776412 Signed-off-by: David Michael <fedora.dm0 <AT> gmail.com> Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> eclass/font.eclass | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/eclass/font.eclass b/eclass/font.eclass index 44e69cc33f0..45c62041995 100644 --- a/eclass/font.eclass +++ b/eclass/font.eclass @@ -46,21 +46,12 @@ FONTDIR=${FONTDIR:-/usr/share/fonts/${FONT_PN}} # Array containing fontconfig conf files to install. FONT_CONF=( "" ) -# @ECLASS-VARIABLE: DOCS -# @DEFAULT_UNSET -# @DESCRIPTION: -# Space delimited list of docs to install. -# We always install these: -# COPYRIGHT README{,.txt} NEWS AUTHORS BUGS ChangeLog FONTLOG.txt -DOCS=${DOCS:-} - if [[ ${CATEGORY}/${PN} != media-fonts/encodings ]]; then IUSE="X" - DEPEND="X? ( + BDEPEND="X? ( >=x11-apps/mkfontscale-1.2.0 media-fonts/encodings )" - RDEPEND="" fi # @FUNCTION: font_xfont_config
