diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-07-26 22:20:42 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-26 22:20:42 +0000 |
commit | 66fd9338d46050e03d7f422ea16c21f7eab859f1 (patch) | |
tree | 87e704a54f6bfc1a85353507e72330bf744a6dc3 /sys-libs/glibc/glibc-2.3.5.ebuild | |
parent | add ~alpha ~ia64 (diff) | |
download | historical-66fd9338d46050e03d7f422ea16c21f7eab859f1.tar.gz historical-66fd9338d46050e03d7f422ea16c21f7eab859f1.tar.bz2 historical-66fd9338d46050e03d7f422ea16c21f7eab859f1.zip |
fix retarded cross-compile depends
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'sys-libs/glibc/glibc-2.3.5.ebuild')
-rw-r--r-- | sys-libs/glibc/glibc-2.3.5.ebuild | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/sys-libs/glibc/glibc-2.3.5.ebuild b/sys-libs/glibc/glibc-2.3.5.ebuild index 2fd75185bc54..99e6f51251e9 100644 --- a/sys-libs/glibc/glibc-2.3.5.ebuild +++ b/sys-libs/glibc/glibc-2.3.5.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.ebuild,v 1.37 2005/07/23 20:07:50 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.5.ebuild,v 1.38 2005/07/26 22:20:42 vapier Exp $ # Here's how the cross-compile logic breaks down ... # CTARGET - machine that will target the binaries @@ -1105,21 +1105,19 @@ DEPEND=">=sys-devel/gcc-3.2.3-r1 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.3.5-r1" + 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 |