diff options
author | Joel Martin <kanaka@gentoo.org> | 2005-12-27 04:55:15 +0000 |
---|---|---|
committer | Joel Martin <kanaka@gentoo.org> | 2005-12-27 04:55:15 +0000 |
commit | daa6e9992c2c63454c9447eb070e69cd72e77c3c (patch) | |
tree | efae1b8d9380fadce903532183fa3c3a347e602c /sys-libs/readline/readline-5.1-r2.ebuild | |
parent | Addresses bug #111963. Fix contributed by Sir No <wiktorw@people.pl>. Also so... (diff) | |
download | gentoo-2-daa6e9992c2c63454c9447eb070e69cd72e77c3c.tar.gz gentoo-2-daa6e9992c2c63454c9447eb070e69cd72e77c3c.tar.bz2 gentoo-2-daa6e9992c2c63454c9447eb070e69cd72e77c3c.zip |
Cross-compile fix was partially backed out (hi vapier), put it back in.
(Portage version: 2.0.53)
Diffstat (limited to 'sys-libs/readline/readline-5.1-r2.ebuild')
-rw-r--r-- | sys-libs/readline/readline-5.1-r2.ebuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sys-libs/readline/readline-5.1-r2.ebuild b/sys-libs/readline/readline-5.1-r2.ebuild index 89713e40f533..37c610dbb79a 100644 --- a/sys-libs/readline/readline-5.1-r2.ebuild +++ b/sys-libs/readline/readline-5.1-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/readline-5.1-r2.ebuild,v 1.5 2005/12/24 17:31:32 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/readline-5.1-r2.ebuild,v 1.6 2005/12/27 04:55:15 kanaka Exp $ inherit eutils multilib toolchain-funcs @@ -57,9 +57,11 @@ src_compile() { econf --with-curses --libdir=/usr/$(get_libdir) || die emake || die - cd examples/rlfe - econf || die - emake || die "make rlfe failed" + if ! tc-is-cross-compiler; then + cd examples/rlfe + econf || die + emake || die "make rlfe failed" + fi } src_install() { |