Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-editors/dav: ChangeLog dav-0.8.5-r1.ebuild
Date: Fri, 31 Oct 2014 11:20:28
Message-Id: 20141031112024.BCBE1922F@oystercatcher.gentoo.org
1 jer 14/10/31 11:20:24
2
3 Modified: ChangeLog dav-0.8.5-r1.ebuild
4 Log:
5 Fix building against sys-libs/ncurses[tinfo] (bug #526356).
6
7 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key A792A613)
8
9 Revision Changes Path
10 1.20 app-editors/dav/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/dav/ChangeLog?rev=1.20&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/dav/ChangeLog?rev=1.20&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/dav/ChangeLog?r1=1.19&r2=1.20
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-editors/dav/ChangeLog,v
19 retrieving revision 1.19
20 retrieving revision 1.20
21 diff -u -r1.19 -r1.20
22 --- ChangeLog 9 May 2012 14:33:52 -0000 1.19
23 +++ ChangeLog 31 Oct 2014 11:20:24 -0000 1.20
24 @@ -1,6 +1,9 @@
25 # ChangeLog for app-editors/dav
26 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-editors/dav/ChangeLog,v 1.19 2012/05/09 14:33:52 ago Exp $
28 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/app-editors/dav/ChangeLog,v 1.20 2014/10/31 11:20:24 jer Exp $
30 +
31 + 31 Oct 2014; Jeroen Roovers <jer@g.o> dav-0.8.5-r1.ebuild:
32 + Fix building against sys-libs/ncurses[tinfo] (bug #526356).
33
34 09 May 2012; Agostino Sarubbo <ago@g.o> -dav-0.8.5.ebuild:
35 Remove old
36
37
38
39 1.6 app-editors/dav/dav-0.8.5-r1.ebuild
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/dav/dav-0.8.5-r1.ebuild?rev=1.6&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/dav/dav-0.8.5-r1.ebuild?rev=1.6&content-type=text/plain
43 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/dav/dav-0.8.5-r1.ebuild?r1=1.5&r2=1.6
44
45 Index: dav-0.8.5-r1.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/app-editors/dav/dav-0.8.5-r1.ebuild,v
48 retrieving revision 1.5
49 retrieving revision 1.6
50 diff -u -r1.5 -r1.6
51 --- dav-0.8.5-r1.ebuild 9 May 2012 14:33:11 -0000 1.5
52 +++ dav-0.8.5-r1.ebuild 31 Oct 2014 11:20:24 -0000 1.6
53 @@ -1,9 +1,8 @@
54 -# Copyright 1999-2012 Gentoo Foundation
55 +# Copyright 1999-2014 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 -# $Header: /var/cvsroot/gentoo-x86/app-editors/dav/dav-0.8.5-r1.ebuild,v 1.5 2012/05/09 14:33:11 ago Exp $
58 -
59 -EAPI="3"
60 +# $Header: /var/cvsroot/gentoo-x86/app-editors/dav/dav-0.8.5-r1.ebuild,v 1.6 2014/10/31 11:20:24 jer Exp $
61
62 +EAPI=5
63 inherit eutils toolchain-funcs
64
65 DESCRIPTION="A minimal console text editor"
66 @@ -16,27 +15,27 @@
67 LICENSE="GPL-2"
68 SLOT="0"
69 KEYWORDS="alpha amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
70 -IUSE=""
71
72 -DEPEND="sys-libs/ncurses"
73 -RDEPEND="${DEPEND}"
74 +RDEPEND="sys-libs/ncurses"
75 +DEPEND="
76 + ${RDEPEND}
77 + virtual/pkgconfig
78 +"
79
80 src_prepare() {
81 - epatch "${FILESDIR}"/${P}-asneeded.patch \
82 + epatch \
83 + "${FILESDIR}"/${P}-asneeded.patch \
84 "${FILESDIR}"/${P}-davrc-buffer-overflow.patch
85 }
86
87 +# Makefile only
88 src_configure() { :; }
89
90 src_compile() {
91 - emake CFLAGS="${CFLAGS}" \
92 - LDFLAGS="${LDFLAGS} -lncurses" \
93 + emake \
94 CC="$(tc-getCC)" \
95 - || die "emake failed"
96 + CFLAGS="${CFLAGS}" \
97 + LDFLAGS="${LDFLAGS} $( $(tc-getPKG_CONFIG) --libs ncurses)"
98 }
99
100 -src_install() {
101 - # no ./configure and doesn't hardcode /usr, so ED is fine
102 - emake DESTDIR="${ED}" install || die
103 - dodoc README
104 -}
105 +DOCS=( README )