summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-03-15 01:47:04 +0000
committerMike Frysinger <vapier@gentoo.org>2006-03-15 01:47:04 +0000
commit6dd150ca2b3477c0a28c49bacdca5183ea9f9adc (patch)
treeb697a456dd203befb6a3794bb3cae3c0334b6a63
parentNew version for gnome-2.14 (diff)
downloadgentoo-2-6dd150ca2b3477c0a28c49bacdca5183ea9f9adc.tar.gz
gentoo-2-6dd150ca2b3477c0a28c49bacdca5183ea9f9adc.tar.bz2
gentoo-2-6dd150ca2b3477c0a28c49bacdca5183ea9f9adc.zip
use _E_CROSS_HEADERS_ONLY in USE rather than as an env var
(Portage version: 2.1_pre6-r2)
-rw-r--r--sys-libs/uclibc/uclibc-0.9.27-r1.ebuild8
-rw-r--r--sys-libs/uclibc/uclibc-0.9.28.ebuild6
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() {