summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2006-03-22 20:19:24 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2006-03-22 20:19:24 +0000
commit219e15cfccb4c1598300a5934a00c25641ccd47c (patch)
tree1d2a5e63f69ffb5ba4996198fd6df3f158907094 /eclass/x-modular.eclass
parentKDE 3.5.2 - not yet released upstream, package.masked (diff)
downloadhistorical-219e15cfccb4c1598300a5934a00c25641ccd47c.tar.gz
historical-219e15cfccb4c1598300a5934a00c25641ccd47c.tar.bz2
historical-219e15cfccb4c1598300a5934a00c25641ccd47c.zip
Add a category check for setting FONT also.
Diffstat (limited to 'eclass/x-modular.eclass')
-rw-r--r--eclass/x-modular.eclass3
1 files changed, 2 insertions, 1 deletions
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 <spyderous@gentoo.org>
#
@@ -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