diff options
Diffstat (limited to 'eclass/x-modular.eclass')
-rw-r--r-- | eclass/x-modular.eclass | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/eclass/x-modular.eclass b/eclass/x-modular.eclass index 351b5dad019e..c32b541baf1c 100644 --- a/eclass/x-modular.eclass +++ b/eclass/x-modular.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.2 2005/08/11 06:19:16 spyderous Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.3 2005/08/14 23:04:02 spyderous Exp $ # # Author: Donnie Berkholz <spyderous@gentoo.org> # @@ -34,6 +34,14 @@ if [ -n "${SNAPSHOT}" ]; then >=sys-devel/m4-1.4" fi +# If we're a font package, but not the font.alias one +if [[ "${PN/#font}" != "${PN}" ]] && [[ "${PN}" != "font-alias" ]]; then + RDEPEND="${RDEPEND} + media-fonts/encodings" + PDEPEND="${PDEPEND} + media-fonts/font-alias" +fi + DEPEND="${DEPEND} dev-util/pkgconfig x11-misc/util-macros" |