From 219e15cfccb4c1598300a5934a00c25641ccd47c Mon Sep 17 00:00:00 2001 From: Donnie Berkholz Date: Wed, 22 Mar 2006 20:19:24 +0000 Subject: Add a category check for setting FONT also. --- eclass/x-modular.eclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'eclass/x-modular.eclass') diff --git a/eclass/x-modular.eclass b/eclass/x-modular.eclass index fa3495f96cc7..70c494cb2309 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.48 2006/03/21 00:31:11 spyderous Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.49 2006/03/22 20:19:24 spyderous Exp $ # # Author: Donnie Berkholz # @@ -93,6 +93,7 @@ fi # If we're a font package, but not the font.alias one if [[ "${PN/#font-}" != "${PN}" ]] \ + && [[ "${CATEGORY}" = "media-fonts" ]] \ && [[ "${PN}" != "font-alias" ]] \ && [[ "${PN}" != "font-util" ]]; then # Activate font code in the rest of the eclass -- cgit v1.2.3-65-gdbad