summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-fs/mtd-utils/ChangeLog5
-rw-r--r--sys-fs/mtd-utils/mtd-utils-20080907.ebuild4
2 files changed, 7 insertions, 2 deletions
diff --git a/sys-fs/mtd-utils/ChangeLog b/sys-fs/mtd-utils/ChangeLog
index 5b736554034e..8975d3dc198c 100644
--- a/sys-fs/mtd-utils/ChangeLog
+++ b/sys-fs/mtd-utils/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-fs/mtd-utils
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/ChangeLog,v 1.23 2009/12/01 03:13:00 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/ChangeLog,v 1.24 2009/12/01 03:27:10 vapier Exp $
+
+ 01 Dec 2009; Mike Frysinger <vapier@gentoo.org> mtd-utils-20080907.ebuild:
+ Set AR/RANLIB so correct tools are used.
01 Dec 2009; Mike Frysinger <vapier@gentoo.org> mtd-utils-20090630.ebuild,
mtd-utils-99999999.ebuild:
diff --git a/sys-fs/mtd-utils/mtd-utils-20080907.ebuild b/sys-fs/mtd-utils/mtd-utils-20080907.ebuild
index 7372941b9db8..6d3760ad4eb3 100644
--- a/sys-fs/mtd-utils/mtd-utils-20080907.ebuild
+++ b/sys-fs/mtd-utils/mtd-utils-20080907.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/sys-fs/mtd-utils/mtd-utils-20080907.ebuild,v 1.6 2009/03/08 00:23:04 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/mtd-utils-20080907.ebuild,v 1.7 2009/12/01 03:27:10 vapier Exp $
inherit toolchain-funcs eutils
@@ -30,9 +30,11 @@ src_unpack() {
cd "${S}"
sed -i 's:-Werror::' $(find . -name Makefile)
epatch "${FILESDIR}"/mtd-utils-fixup.patch
+ sed -i -e 's:\<ar\>:$(AR):' tests/ubi-tests/Makefile || die
}
src_compile() {
+ tc-export AR RANLIB
emake \
CC="$(tc-getCC)" \
OPTFLAGS="${CFLAGS}" \