Index: font.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/font.eclass,v retrieving revision 1.46 diff -u -r1.46 font.eclass --- font.eclass 13 Sep 2009 04:47:34 -0000 1.46 +++ font.eclass 13 Sep 2009 06:47:45 -0000 @@ -103,6 +103,17 @@ fi } +# @FUNCTION: font_do_fontpath +# @USAGE: [fontdir] +# @DESCRIPTION: +# Create font catalogue symlinks. +font_do_fontpath() { + if use X; then + FONTDIR=${1:-${FONTDIR}} + dosym "${FONTDIR}" "/etc/X11/fontpath.d/${FONTDIR##*/}" + fi +} + # # Public inheritable functions # @@ -126,6 +137,7 @@ font_xfont_config font_xft_config font_fontconfig + font_do_fontpath cd "${S}" dodoc ${DOCS} 2> /dev/null