summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2009-09-17 16:04:13 +0000
committerUlrich Müller <ulm@gentoo.org>2009-09-17 16:04:13 +0000
commit10f5165deb0a96bac2bca8bc01a1533b2dfdb6ef (patch)
tree1a1d7e3cb48ae7176268348a4dbf33e621a118c8 /app-editors/emacs
parentStable for HPPA (bug #284068). (diff)
downloadgentoo-2-10f5165deb0a96bac2bca8bc01a1533b2dfdb6ef.tar.gz
gentoo-2-10f5165deb0a96bac2bca8bc01a1533b2dfdb6ef.tar.bz2
gentoo-2-10f5165deb0a96bac2bca8bc01a1533b2dfdb6ef.zip
Move amd64 test into case statement.
(Portage version: 2.2_rc40/cvs/Linux i686)
Diffstat (limited to 'app-editors/emacs')
-rw-r--r--app-editors/emacs/emacs-18.59-r6.ebuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/app-editors/emacs/emacs-18.59-r6.ebuild b/app-editors/emacs/emacs-18.59-r6.ebuild
index 4cf70db6a42c..d0d7013397b1 100644
--- a/app-editors/emacs/emacs-18.59-r6.ebuild
+++ b/app-editors/emacs/emacs-18.59-r6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-18.59-r6.ebuild,v 1.4 2009/09/16 18:42:39 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-18.59-r6.ebuild,v 1.5 2009/09/17 16:04:13 ulm Exp $
EAPI=2
@@ -35,12 +35,10 @@ src_prepare() {
}
src_configure() {
- # Feel free to fix the sources to be 64 bit clean.
- use amd64 && multilib_toolchain_setup x86
-
# autoconf? What's autoconf? We are living in 1992. ;-)
- local arch=$(tc-arch)
- case ${arch} in
+ local arch
+ case ${ARCH} in
+ amd64) arch=intel386; multilib_toolchain_setup x86 ;;
x86) arch=intel386 ;;
*) die "Architecture ${arch} not supported" ;;
esac