diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2005-03-16 11:33:30 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2005-03-16 11:33:30 +0000 |
commit | 4e54ee2aee9601799accfaa4da55648cc7f4007a (patch) | |
tree | 60106fb4692c46268e9b9a2c093644d29ebd861c /sys-libs/glibc/glibc-2.3.4.20050125-r1.ebuild | |
parent | Initial commit. Thanks to soulse in bug 84895 for the ebuild. (diff) | |
download | historical-4e54ee2aee9601799accfaa4da55648cc7f4007a.tar.gz historical-4e54ee2aee9601799accfaa4da55648cc7f4007a.tar.bz2 historical-4e54ee2aee9601799accfaa4da55648cc7f4007a.zip |
Exclude the gcc4 patch if we're not using gcc4
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'sys-libs/glibc/glibc-2.3.4.20050125-r1.ebuild')
-rw-r--r-- | sys-libs/glibc/glibc-2.3.4.20050125-r1.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-libs/glibc/glibc-2.3.4.20050125-r1.ebuild b/sys-libs/glibc/glibc-2.3.4.20050125-r1.ebuild index eaaf125959db..0b52f3104cf7 100644 --- a/sys-libs/glibc/glibc-2.3.4.20050125-r1.ebuild +++ b/sys-libs/glibc/glibc-2.3.4.20050125-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.4.20050125-r1.ebuild,v 1.25 2005/03/16 06:12:26 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.4.20050125-r1.ebuild,v 1.26 2005/03/16 11:33:30 eradicator Exp $ # Here's how the cross-compile logic breaks down ... # CTARGET - machine that will target the binaries @@ -1091,6 +1091,8 @@ src_unpack() { use nomalloccheck || GLIBC_PATCH_EXCLUDE="${GLIBC_PATCH_EXCLUDE} 5020_all_nomalloccheck.patch" + [[ $(gcc-major-version) == "4" ]] || GLIBC_PATCH_EXCLUDE="${GLIBC_PATCH_EXCLUDE} 5040_all_2.3.4-gcc4.patch" + toolchain-glibc_src_unpack case $(tc-arch) in |