/[gentoo-x86]/sys-libs/readline/readline-6.2_p5-r1.ebuild
Gentoo

Diff of /sys-libs/readline/readline-6.2_p5-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 Revision 1.4
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/readline-6.2_p5-r1.ebuild,v 1.3 2013/12/30 08:36:38 aballier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/readline-6.2_p5-r1.ebuild,v 1.4 2013/12/30 16:43:12 vapier Exp $
4 4
5EAPI="4" 5EAPI="4"
6 6
7inherit eutils multilib toolchain-funcs flag-o-matic multilib-minimal 7inherit eutils multilib toolchain-funcs flag-o-matic multilib-minimal
8 8
61 local ncurses_libs=$($(tc-getPKG_CONFIG) ncurses --libs) 61 local ncurses_libs=$($(tc-getPKG_CONFIG) ncurses --libs)
62 sed -i \ 62 sed -i \
63 -e "/^SHLIB_LIBS=/s:=.*:='${ncurses_libs}':" \ 63 -e "/^SHLIB_LIBS=/s:=.*:='${ncurses_libs}':" \
64 support/shobj-conf || die 64 support/shobj-conf || die
65 sed -i \ 65 sed -i \
66 -e "/^LIBS=.-lncurses/s:-lncurses:${ncurses_libs}:" \ 66 -e "/^[[:space:]]*LIBS=.-lncurses/s:-lncurses:${ncurses_libs}:" \
67 examples/rlfe/configure || die 67 examples/rlfe/configure || die
68 68
69 # fix building under Gentoo/FreeBSD; upstream FreeBSD deprecated 69 # fix building under Gentoo/FreeBSD; upstream FreeBSD deprecated
70 # objformat for years, so we don't want to rely on that. 70 # objformat for years, so we don't want to rely on that.
71 sed -i -e '/objformat/s:if .*; then:if true; then:' support/shobj-conf || die 71 sed -i -e '/objformat/s:if .*; then:if true; then:' support/shobj-conf || die

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20