summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorJason Cox <steel300@gentoo.org>2004-04-17 04:16:35 +0000
committerJason Cox <steel300@gentoo.org>2004-04-17 04:16:35 +0000
commit476e693729afb27f639f327b8813209747b685eb (patch)
tree95cde78ec51c633948a37fec0409c93853eb2f2e /sys-fs
parent (Manifest recommit) (diff)
downloadgentoo-2-476e693729afb27f639f327b8813209747b685eb.tar.gz
gentoo-2-476e693729afb27f639f327b8813209747b685eb.tar.bz2
gentoo-2-476e693729afb27f639f327b8813209747b685eb.zip
Fix build issue
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/lufs/ChangeLog5
-rw-r--r--sys-fs/lufs/lufs-0.9.7-r1.ebuild7
2 files changed, 10 insertions, 2 deletions
diff --git a/sys-fs/lufs/ChangeLog b/sys-fs/lufs/ChangeLog
index f8bd19398be9..1da443668994 100644
--- a/sys-fs/lufs/ChangeLog
+++ b/sys-fs/lufs/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-fs/lufs
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/lufs/ChangeLog,v 1.4 2004/03/26 23:34:44 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/lufs/ChangeLog,v 1.5 2004/04/17 04:16:35 steel300 Exp $
+
+ 16 Apr 2004; <coxj@gentoo.org> lufs-0.9.7-r1.ebuild:
+ Fix for build on amd64
*lufs-0.9.7-r1 (26 Mar 2004)
diff --git a/sys-fs/lufs/lufs-0.9.7-r1.ebuild b/sys-fs/lufs/lufs-0.9.7-r1.ebuild
index 83df3b24a3da..55f0635fc92d 100644
--- a/sys-fs/lufs/lufs-0.9.7-r1.ebuild
+++ b/sys-fs/lufs/lufs-0.9.7-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/lufs/lufs-0.9.7-r1.ebuild,v 1.1 2004/03/26 23:34:44 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/lufs/lufs-0.9.7-r1.ebuild,v 1.2 2004/04/17 04:16:35 steel300 Exp $
inherit eutils
@@ -32,8 +32,13 @@ src_unpack() {
src_compile() {
local myconf
+ [ "$ARCH" == "x86" ] && export ARCH="i386"
+ [ "$ARCH" == "amd64" ] && export ARCH="x86_64"
econf ${myconf} || die
+
emake || die
+ [ "$ARCH" == "i386" ] && export ARCH="x86"
+ [ "$ARCH" == "x86_64" ] && export ARCH="amd64"
}
src_install () {