summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/readline/readline-6.0_p3.ebuild')
-rw-r--r--sys-libs/readline/readline-6.0_p3.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys-libs/readline/readline-6.0_p3.ebuild b/sys-libs/readline/readline-6.0_p3.ebuild
index 8c866e8cafe0..203b3295d634 100644
--- a/sys-libs/readline/readline-6.0_p3.ebuild
+++ b/sys-libs/readline/readline-6.0_p3.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-libs/readline/readline-6.0_p3.ebuild,v 1.1 2009/05/17 21:06:48 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/readline-6.0_p3.ebuild,v 1.2 2009/05/18 11:48:26 flameeyes Exp $
inherit autotools eutils multilib toolchain-funcs flag-o-matic
@@ -54,6 +54,10 @@ src_unpack() {
# force ncurses linking #71420
sed -i -e 's:^SHLIB_LIBS=:SHLIB_LIBS=-lncurses:' support/shobj-conf || die "sed"
+ # fix building under Gentoo/FreeBSD; upstream FreeBSD deprecated
+ # objformat for years, so we don't want to rely on that.
+ sed -i -e '/objformat/s:if .*; then:if true; then:' support/shobj-conf || die
+
# the bundled rlfe had its configure.in updated, but no one actually
# ran autoconf to have the configure file updated
ln -s ../.. examples/rlfe/readline