commit:     8f16fd8efc44fe412b759918e4e433f27bc65755
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 26 00:10:47 2019 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon Aug 26 00:15:42 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f16fd8e

xorg-3.eclass: Add media-fonts/ to a couple cases

media-fonts/font-util doesn't require all of the extra logic xorg-2
contains for fonts. Adding these two lines are needed for new font-util
to use xorg-3.

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 eclass/xorg-3.eclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/eclass/xorg-3.eclass b/eclass/xorg-3.eclass
index 217aadecb3b..b8dca22726d 100644
--- a/eclass/xorg-3.eclass
+++ b/eclass/xorg-3.eclass
@@ -72,6 +72,7 @@ IUSE=""
 if [[ ${XORG_MODULE} == auto ]]; then
        case ${CATEGORY} in
                app-doc)             XORG_MODULE=doc/     ;;
+               media-fonts)         XORG_MODULE=font/    ;;
                x11-apps|x11-wm)     XORG_MODULE=app/     ;;
                x11-misc|x11-themes) XORG_MODULE=util/    ;;
                x11-base)            XORG_MODULE=xserver/ ;;
@@ -140,6 +141,7 @@ if [[ ${XORG_STATIC} == yes \
                && ${CATEGORY} != app-doc \
                && ${CATEGORY} != x11-apps \
                && ${CATEGORY} != x11-drivers \
+               && ${CATEGORY} != media-fonts \
                && ${PN} != util-macros \
                && ${PN} != xbitmaps \
                && ${PN} != xorg-cf-files \

Reply via email to