diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-03-15 01:48:51 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-03-15 01:48:51 +0000 |
commit | 7f7512807340fcc73db2e3947ca727cafb0a6698 (patch) | |
tree | 470e67e2021c53bc2dc2ef3faa7029837199b0db /sys-libs/uclibc | |
parent | New version for gnome-2.14 (diff) | |
download | historical-7f7512807340fcc73db2e3947ca727cafb0a6698.tar.gz historical-7f7512807340fcc73db2e3947ca727cafb0a6698.tar.bz2 historical-7f7512807340fcc73db2e3947ca727cafb0a6698.zip |
use _E_CROSS_HEADERS_ONLY in USE rather than as an env var
Package-Manager: portage-2.1_pre6-r2
Diffstat (limited to 'sys-libs/uclibc')
-rw-r--r-- | sys-libs/uclibc/uclibc-0.9.27-r1.ebuild | 8 | ||||
-rw-r--r-- | sys-libs/uclibc/uclibc-0.9.28.ebuild | 6 |
2 files changed, 5 insertions, 9 deletions
diff --git a/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild b/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild index ccde23b5b000..c11f7cb67ccc 100644 --- a/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild +++ b/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild,v 1.15 2005/12/29 12:30:27 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild,v 1.16 2006/03/15 01:47:04 vapier Exp $ inherit eutils flag-o-matic toolchain-funcs @@ -77,9 +77,7 @@ alt_rprefix() { fi } just_headers() { - [[ -z ${_E_CROSS_HEADERS_ONLY} ]] && return 1 - [[ ${CHOST} == ${CTARGET} ]] && return 1 - return 0 + has _E_CROSS_HEADERS_ONLY ${USE} && [[ ${CHOST} != ${CTARGET} ]] } pkg_setup() { diff --git a/sys-libs/uclibc/uclibc-0.9.28.ebuild b/sys-libs/uclibc/uclibc-0.9.28.ebuild index e94a93851bee..0cfa82e3795d 100644 --- a/sys-libs/uclibc/uclibc-0.9.28.ebuild +++ b/sys-libs/uclibc/uclibc-0.9.28.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/uclibc/uclibc-0.9.28.ebuild,v 1.20 2006/03/11 03:23:37 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.28.ebuild,v 1.21 2006/03/15 01:47:04 vapier Exp $ #ESVN_REPO_URI="svn://uclibc.org/trunk/uClibc" #inherit subversion @@ -75,9 +75,7 @@ alt_rprefix() { fi } just_headers() { - [[ -z ${_E_CROSS_HEADERS_ONLY} ]] && return 1 - [[ ${CHOST} == ${CTARGET} ]] && return 1 - return 0 + has _E_CROSS_HEADERS_ONLY ${USE} && [[ ${CHOST} != ${CTARGET} ]] } pkg_setup() { |