diff options
author | 2006-03-15 01:48:51 +0000 | |
---|---|---|
committer | 2006-03-15 01:48:51 +0000 | |
commit | 8ddedae07be13683a4a15fbcee58888f5cbe0b3a (patch) | |
tree | 5f77443138e02461c4087791ce84b6c44223096d /sys-libs/glibc/glibc-2.3.6-r2.ebuild | |
parent | use _E_CROSS_HEADERS_ONLY in USE rather than as an env var (diff) | |
download | gentoo-2-8ddedae07be13683a4a15fbcee58888f5cbe0b3a.tar.gz gentoo-2-8ddedae07be13683a4a15fbcee58888f5cbe0b3a.tar.bz2 gentoo-2-8ddedae07be13683a4a15fbcee58888f5cbe0b3a.zip |
use _E_CROSS_HEADERS_ONLY in USE rather than as an env var
(Portage version: 2.1_pre6-r2)
Diffstat (limited to 'sys-libs/glibc/glibc-2.3.6-r2.ebuild')
-rw-r--r-- | sys-libs/glibc/glibc-2.3.6-r2.ebuild | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys-libs/glibc/glibc-2.3.6-r2.ebuild b/sys-libs/glibc/glibc-2.3.6-r2.ebuild index 922126e33c67..2becf048477a 100644 --- a/sys-libs/glibc/glibc-2.3.6-r2.ebuild +++ b/sys-libs/glibc/glibc-2.3.6-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.6-r2.ebuild,v 1.13 2006/01/26 02:17:30 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.6-r2.ebuild,v 1.14 2006/03/15 01:48:51 vapier Exp $ # TODO: # - fix warning from glibc build system: @@ -75,8 +75,7 @@ is_crosscompile() { [[ ${CHOST} != ${CTARGET} ]] } just_headers() { - [[ -z ${_E_CROSS_HEADERS_ONLY} ]] && return 1 - is_crosscompile + is_crosscompile && has _E_CROSS_HEADERS_ONLY ${USE} } GLIBC_RELEASE_VER=$(get_version_component_range 1-3) |