summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-03-23 17:39:06 +0000
committerMike Frysinger <vapier@gentoo.org>2012-03-23 17:39:06 +0000
commitbe760f6809b06dfb9124fe1e59a89877aa545d90 (patch)
treef4d0803c358d15ab8b9312a33ec3dfc64aec2d7b /sys-libs/glibc/glibc-2.14.1-r2.ebuild
parentRemove warnings about devfs-compatible rules from the live ebuild (diff)
downloadgentoo-2-be760f6809b06dfb9124fe1e59a89877aa545d90.tar.gz
gentoo-2-be760f6809b06dfb9124fe1e59a89877aa545d90.tar.bz2
gentoo-2-be760f6809b06dfb9124fe1e59a89877aa545d90.zip
Make sure we disable the x32 patch for non-x86_64 targets too.
(Portage version: 2.2.0_alpha90/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs/glibc/glibc-2.14.1-r2.ebuild')
-rw-r--r--sys-libs/glibc/glibc-2.14.1-r2.ebuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys-libs/glibc/glibc-2.14.1-r2.ebuild b/sys-libs/glibc/glibc-2.14.1-r2.ebuild
index cac6a94ae4a3..8b67e74498fa 100644
--- a/sys-libs/glibc/glibc-2.14.1-r2.ebuild
+++ b/sys-libs/glibc/glibc-2.14.1-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.14.1-r2.ebuild,v 1.4 2012/02/16 02:59:34 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.14.1-r2.ebuild,v 1.5 2012/03/23 17:39:06 vapier Exp $
inherit eutils versionator libtool toolchain-funcs flag-o-matic gnuconfig multilib
@@ -205,11 +205,8 @@ pkg_setup() {
}
eblit-src_unpack-pre() {
- case ${CHOST} in
- x86_64*)
- has x32 $(get_all_abis) || GLIBC_PATCH_EXCLUDE+=" 1200_all_glibc-2.14.1-x32.patch"
- ;;
- esac
+ [[ ${CHOST} == x86_64* ]] && has x32 $(get_all_abis) \
+ || GLIBC_PATCH_EXCLUDE+=" 1200_all_glibc-${PV}-x32.patch"
}
eblit-src_unpack-post() {