summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <spyderous@gentoo.org>2006-03-22 20:19:24 +0000
committerDonnie Berkholz <spyderous@gentoo.org>2006-03-22 20:19:24 +0000
commit6b50672aa7769dafb0e321b07e8e62346b08f91c (patch)
tree8a27e3a5f1eb8e086943aff38cf8a0b067b9e9e2 /eclass/x-modular.eclass
parentAdd to ~amd64. (diff)
downloadgentoo-2-6b50672aa7769dafb0e321b07e8e62346b08f91c.tar.gz
gentoo-2-6b50672aa7769dafb0e321b07e8e62346b08f91c.tar.bz2
gentoo-2-6b50672aa7769dafb0e321b07e8e62346b08f91c.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