Add set_arch_to_kernel() and set_arch_to_portage() so portage's ARCH variable doesn...
authorDonnie Berkholz <dberkholz@gentoo.org>
Thu, 14 Oct 2004 03:27:38 +0000 (03:27 +0000)
committerDonnie Berkholz <dberkholz@gentoo.org>
Thu, 14 Oct 2004 03:27:38 +0000 (03:27 +0000)
eclass/matrox.eclass

index 5899744cf793c5782703d3052b6a56a6cb10f25f..1357bdab6f2b10f61d6bcdb0c0d3fce251cc7e8c 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/matrox.eclass,v 1.9 2004/10/09 00:58:42 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/matrox.eclass,v 1.10 2004/10/14 03:27:38 spyderous Exp $
 #
 # Author: Donnie Berkholz <spyderous@gentoo.org>
 #
@@ -68,6 +68,8 @@ matrox_pkg_setup() {
 }
 
 matrox_src_compile() {
+       # 2.6 builds use the ARCH variable
+       set_arch_to_kernel
        export PARHELIUX="${PWD}/src"
        cd ${S}/src/kernel/parhelia
        ln -sf ../../../kernel/mtx_parhelia.o .
@@ -75,6 +77,7 @@ matrox_src_compile() {
        # Can't use emake here
        make clean
        make || die "make failed"
+       set_arch_to_portage
 }
 
 matrox_base_src_install() {