From fce1cec350db343e7ad419c605637264b1225c97 Mon Sep 17 00:00:00 2001 From: Ned Ludd Date: Sat, 4 Apr 2009 18:46:30 +0000 Subject: - Keyword ~arm and fix up cross compile (Portage version: 2.1.6.7/cvs/Linux x86_64) --- app-i18n/enca/ChangeLog | 6 +++--- app-i18n/enca/enca-1.9-r1.ebuild | 7 +++++-- 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'app-i18n/enca') diff --git a/app-i18n/enca/ChangeLog b/app-i18n/enca/ChangeLog index 61fb11ca7ed8..ee2cc58b4bef 100644 --- a/app-i18n/enca/ChangeLog +++ b/app-i18n/enca/ChangeLog @@ -1,9 +1,9 @@ # ChangeLog for app-i18n/enca # Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/enca/ChangeLog,v 1.37 2009/04/04 18:23:44 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/enca/ChangeLog,v 1.38 2009/04/04 18:46:30 solar Exp $ - 04 Apr 2009; enca-1.9.ebuild, enca-1.9-r1.ebuild: - - Keyword ~arm + 04 Apr 2009; enca-1.9-r1.ebuild: + - Keyword ~arm and fix up cross compile 21 Mar 2009; Jeroen Roovers enca-1.9-r1.ebuild: Stable for HPPA (bug #261227). diff --git a/app-i18n/enca/enca-1.9-r1.ebuild b/app-i18n/enca/enca-1.9-r1.ebuild index 116699ee597b..00a456af1bc2 100644 --- a/app-i18n/enca/enca-1.9-r1.ebuild +++ b/app-i18n/enca/enca-1.9-r1.ebuild @@ -1,7 +1,8 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/enca/enca-1.9-r1.ebuild,v 1.11 2009/04/04 18:23:44 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/enca/enca-1.9-r1.ebuild,v 1.12 2009/04/04 18:46:30 solar Exp $ +inherit toolchain-funcs DESCRIPTION="ENCA detects the character coding of a file and converts it if desired" HOMEPAGE="http://trific.ath.cx/software/enca/" SRC_URI="mirror://gentoo/${P}.tar.bz2" @@ -20,7 +21,9 @@ src_compile() { --enable-external \ $(use_enable doc gtk-doc) \ || die "configure failed" - + if tc-is-cross-compiler; then + ( cd "${S}"/tools && $(tc-getBUILD_CC) -o make_hash make_hash.c ) || die "native make_hash failed" + fi emake || die "make failed" } -- cgit v1.2.3-65-gdbad