font.eclass: Allow for only >=x11-apps/mkfontscale-1.2.0
authorMatt Turner <mattst88@gentoo.org>
Sun, 3 Mar 2019 21:35:43 +0000 (13:35 -0800)
committerMatt Turner <mattst88@gentoo.org>
Sun, 3 Mar 2019 21:55:56 +0000 (13:55 -0800)
mkfontdir is now part of mkfontscale-1.2.0.

Signed-off-by: Matt Turner <mattst88@gentoo.org>
eclass/font.eclass

index 513be3981c3c415e055c40848a09b3ae0f83222a..58ec9e3ea31278c3b77e12f8de864167d33d5c9b 100644 (file)
@@ -55,7 +55,7 @@ DOCS=${DOCS:-}
 IUSE="X"
 
 DEPEND="X? (
-               x11-apps/mkfontdir
+               || ( >=x11-apps/mkfontscale-1.2.0 x11-apps/mkfontdir )
                media-fonts/encodings
        )"
 RDEPEND=""