-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-1.14.0.ebuild,v 1.3 2006/11/06 00:37:11 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-1.14.0.ebuild,v 1.4 2007/02/12 05:05:23 vapier Exp $
-inherit eutils flag-o-matic
+inherit eutils flag-o-matic toolchain-funcs
export CBUILD=${CBUILD:-${CHOST}}
export CTARGET=${CTARGET:-${CHOST}}
local myconf=""
# hardwired to avoid breakages
- [[ ${CTARGET} == *-softfloat-* ]] \
+ [[ $(tc-is-softfloat) == "no" ]] \
&& myconf="--disable-newlib-hw-fp" \
|| myconf="--enable-newlib-hw-fp"
[[ ${CTARGET} == "spu" ]] \
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-1.15.0.ebuild,v 1.2 2007/02/05 14:51:50 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-1.15.0.ebuild,v 1.3 2007/02/12 05:05:23 vapier Exp $
-inherit eutils flag-o-matic
+inherit eutils flag-o-matic toolchain-funcs
export CBUILD=${CBUILD:-${CHOST}}
export CTARGET=${CTARGET:-${CHOST}}
local myconf=""
# hardwired to avoid breakages
- [[ ${CTARGET//_/-} == *-softfloat-* ]] \
+ [[ $(tc-is-softfloat) == "no" ]] \
&& myconf="--disable-newlib-hw-fp" \
|| myconf="--enable-newlib-hw-fp"
[[ ${CTARGET} == "spu" ]] \
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-20061203.ebuild,v 1.2 2006/12/10 00:46:54 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-20061203.ebuild,v 1.3 2007/02/12 05:05:23 vapier Exp $
-inherit eutils flag-o-matic
+inherit eutils flag-o-matic toolchain-funcs
export CBUILD=${CBUILD:-${CHOST}}
export CTARGET=${CTARGET:-${CHOST}}
local myconf=""
# hardwired to avoid breakages
- [[ ${CTARGET} == *-softfloat-* ]] \
+ [[ $(tc-is-softfloat) == "no" ]] \
&& myconf="--disable-newlib-hw-fp" \
|| myconf="--enable-newlib-hw-fp"
[[ ${CTARGET} == "spu" ]] \
# Copyright 1999-2007 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.23 2007/01/28 06:54:37 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild,v 1.24 2007/02/12 05:07:03 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs
sed -i -e '/ARCH_.*_ENDIAN/d' .config
echo "ARCH_$(uclibc_endian | tr [a-z] [A-Z])_ENDIAN=y" >> .config
- if [[ ${CTARGET//_/-} == *-softfloat-* ]] ; then
+ if [[ $(tc-is-softfloat) != "yes" ]] ; then
sed -i -e '/^HAS_FPU=y$/d' .config
echo 'HAS_FPU=n' >> .config
fi
# Copyright 1999-2007 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-r1.ebuild,v 1.8 2007/01/28 06:54:37 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.28-r1.ebuild,v 1.9 2007/02/12 05:07:03 vapier Exp $
#ESVN_REPO_URI="svn://uclibc.org/trunk/uClibc"
#inherit subversion
sed -i -e '/ARCH_.*_ENDIAN/d' .config
echo "ARCH_$(uclibc_endian | tr [a-z] [A-Z])_ENDIAN=y" >> .config
- if [[ ${CTARGET//_/-} == *-softfloat-* ]] ; then
+ if [[ $(tc-is-softfloat) != "yes" ]] ; then
sed -i -e '/^HAS_FPU=y$/d' .config
echo 'HAS_FPU=n' >> .config
fi
# Copyright 1999-2007 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-r2.ebuild,v 1.3 2007/01/28 06:54:37 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.28-r2.ebuild,v 1.4 2007/02/12 05:07:03 vapier Exp $
#ESVN_REPO_URI="svn://uclibc.org/trunk/uClibc"
#inherit subversion
sed -i -e '/ARCH_.*_ENDIAN/d' .config
echo "ARCH_$(uclibc_endian | tr [a-z] [A-Z])_ENDIAN=y" >> .config
- if [[ ${CTARGET//_/-} == *-softfloat-* ]] ; then
+ if [[ $(tc-is-softfloat) != "yes" ]] ; then
sed -i -e '/^HAS_FPU=y$/d' .config
echo 'HAS_FPU=n' >> .config
fi
# Copyright 1999-2007 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.1.ebuild,v 1.1 2007/01/28 08:16:23 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.28.1.ebuild,v 1.2 2007/02/12 05:07:03 vapier Exp $
#ESVN_REPO_URI="svn://uclibc.org/trunk/uClibc"
#inherit subversion
sed -i -e '/ARCH_.*_ENDIAN/d' .config
echo "ARCH_$(uclibc_endian | tr [a-z] [A-Z])_ENDIAN=y" >> .config
- if [[ ${CTARGET//_/-} == *-softfloat-* ]] ; then
+ if [[ $(tc-is-softfloat) != "yes" ]] ; then
sed -i -e '/^HAS_FPU=y$/d' .config
echo 'HAS_FPU=n' >> .config
fi
# Copyright 1999-2007 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.28 2007/01/28 06:54:37 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.28.ebuild,v 1.29 2007/02/12 05:07:03 vapier Exp $
#ESVN_REPO_URI="svn://uclibc.org/trunk/uClibc"
#inherit subversion
sed -i -e '/ARCH_.*_ENDIAN/d' .config
echo "ARCH_$(uclibc_endian | tr [a-z] [A-Z])_ENDIAN=y" >> .config
- if [[ ${CTARGET//_/-} == *-softfloat-* ]] ; then
+ if [[ $(tc-is-softfloat) != "yes" ]] ; then
sed -i -e '/^HAS_FPU=y$/d' .config
echo 'HAS_FPU=n' >> .config
fi