summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/glibc/glibc-2.3.5.20050722.ebuild')
-rw-r--r--sys-libs/glibc/glibc-2.3.5.20050722.ebuild18
1 files changed, 8 insertions, 10 deletions
diff --git a/sys-libs/glibc/glibc-2.3.5.20050722.ebuild b/sys-libs/glibc/glibc-2.3.5.20050722.ebuild
index 39e6a2b33774..dbd515c4ffdd 100644
--- a/sys-libs/glibc/glibc-2.3.5.20050722.ebuild
+++ b/sys-libs/glibc/glibc-2.3.5.20050722.ebuild
@@ -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/sys-libs/glibc/glibc-2.3.5.20050722.ebuild,v 1.1 2005/07/24 19:58:11 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.5.20050722.ebuild,v 1.2 2005/07/26 22:20:42 vapier Exp $
# Here's how the cross-compile logic breaks down ...
# CTARGET - machine that will target the binaries
@@ -1091,21 +1091,19 @@ DEPEND=">=sys-devel/gcc-3.4
virtual/os-headers
nls? ( sys-devel/gettext )
selinux? ( !build? ( sys-libs/libselinux ) )"
-
RDEPEND="virtual/os-headers
nls? ( sys-devel/gettext )
selinux? ( !build? ( sys-libs/libselinux ) )"
if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
- DEPEND="${DEPEND}
- >=${CATEGORY}/gcc-3.4"
+ DEPEND="${DEPEND} ${CATEGORY}/gcc"
- if [[ ${CATEGORY/mips} != ${CATEGORY} ]] ; then
- DEPEND="${DEPEND}
- >=${CATEGORY}/mips-headers-2.6.10"
- else
- DEPEND="${DEPEND}
- >=${CATEGORY}/linux-headers-2.6.8"
+ if [[ ${CATEGORY} == *-linux* ]] ; then
+ if [[ ${CATEGORY/mips} != ${CATEGORY} ]] ; then
+ DEPEND="${DEPEND} >=${CATEGORY}/mips-headers-2.6.10"
+ else
+ DEPEND="${DEPEND} ${CATEGORY}/linux-headers"
+ fi
fi
case ${CTARGET} in