summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-02-12 05:07:03 +0000
committerMike Frysinger <vapier@gentoo.org>2007-02-12 05:07:03 +0000
commit44726f3ce00f52dd0e11054a63f53c9132a60f94 (patch)
treeaa4470fbb8307714f503ad944bf4e03aff92cc21 /sys-libs/uclibc/uclibc-0.9.27-r1.ebuild
parentuse new tc-is-softfloat from toolchain-funcs.eclass (diff)
downloadgentoo-2-44726f3ce00f52dd0e11054a63f53c9132a60f94.tar.gz
gentoo-2-44726f3ce00f52dd0e11054a63f53c9132a60f94.tar.bz2
gentoo-2-44726f3ce00f52dd0e11054a63f53c9132a60f94.zip
use new tc-is-softfloat from toolchain-funcs.eclass
(Portage version: 2.1.2-r9)
Diffstat (limited to 'sys-libs/uclibc/uclibc-0.9.27-r1.ebuild')
-rw-r--r--sys-libs/uclibc/uclibc-0.9.27-r1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild b/sys-libs/uclibc/uclibc-0.9.27-r1.ebuild
index d21108094484..3f94da391002 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-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
@@ -184,7 +184,7 @@ src_unpack() {
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