summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2009-04-04 18:46:30 +0000
committerNed Ludd <solar@gentoo.org>2009-04-04 18:46:30 +0000
commitfce1cec350db343e7ad419c605637264b1225c97 (patch)
tree82cfe4a606d60943f0c18db1da97a974e5a3d00e /app-i18n/enca
parentNew package, bug 260501 (diff)
downloadgentoo-2-fce1cec350db343e7ad419c605637264b1225c97.tar.gz
gentoo-2-fce1cec350db343e7ad419c605637264b1225c97.tar.bz2
gentoo-2-fce1cec350db343e7ad419c605637264b1225c97.zip
- Keyword ~arm and fix up cross compile
(Portage version: 2.1.6.7/cvs/Linux x86_64)
Diffstat (limited to 'app-i18n/enca')
-rw-r--r--app-i18n/enca/ChangeLog6
-rw-r--r--app-i18n/enca/enca-1.9-r1.ebuild7
2 files changed, 8 insertions, 5 deletions
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; <solar@gentoo.org> enca-1.9.ebuild, enca-1.9-r1.ebuild:
- - Keyword ~arm
+ 04 Apr 2009; <solar@gentoo.org> enca-1.9-r1.ebuild:
+ - Keyword ~arm and fix up cross compile
21 Mar 2009; Jeroen Roovers <jer@gentoo.org> 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"
}