summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2005-08-14 23:04:02 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2005-08-14 23:04:02 +0000
commit7f7812f6c1f1cc26b804c7b1f66074a6afb1e9e3 (patch)
treeb6c2df031537004886bcdf5ae2fbcc9c128f6a23 /eclass
parentUpdating to latest version. (diff)
downloadhistorical-7f7812f6c1f1cc26b804c7b1f66074a6afb1e9e3.tar.gz
historical-7f7812f6c1f1cc26b804c7b1f66074a6afb1e9e3.tar.bz2
historical-7f7812f6c1f1cc26b804c7b1f66074a6afb1e9e3.zip
Add encodings as RDEPEND and font-alias as PDEPEND for all font packages.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/x-modular.eclass10
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"