jer         14/10/31 11:20:24

  Modified:             ChangeLog dav-0.8.5-r1.ebuild
  Log:
  Fix building against sys-libs/ncurses[tinfo] (bug #526356).
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
A792A613)

Revision  Changes    Path
1.20                 app-editors/dav/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/dav/ChangeLog?rev=1.20&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/dav/ChangeLog?rev=1.20&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/dav/ChangeLog?r1=1.19&r2=1.20

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-editors/dav/ChangeLog,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- ChangeLog   9 May 2012 14:33:52 -0000       1.19
+++ ChangeLog   31 Oct 2014 11:20:24 -0000      1.20
@@ -1,6 +1,9 @@
 # ChangeLog for app-editors/dav
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/dav/ChangeLog,v 1.19 2012/05/09 
14:33:52 ago Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/dav/ChangeLog,v 1.20 2014/10/31 
11:20:24 jer Exp $
+
+  31 Oct 2014; Jeroen Roovers <[email protected]> dav-0.8.5-r1.ebuild:
+  Fix building against sys-libs/ncurses[tinfo] (bug #526356).
 
   09 May 2012; Agostino Sarubbo <[email protected]> -dav-0.8.5.ebuild:
   Remove old



1.6                  app-editors/dav/dav-0.8.5-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/dav/dav-0.8.5-r1.ebuild?rev=1.6&view=markup
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
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/dav/dav-0.8.5-r1.ebuild?r1=1.5&r2=1.6

Index: dav-0.8.5-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-editors/dav/dav-0.8.5-r1.ebuild,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- dav-0.8.5-r1.ebuild 9 May 2012 14:33:11 -0000       1.5
+++ dav-0.8.5-r1.ebuild 31 Oct 2014 11:20:24 -0000      1.6
@@ -1,9 +1,8 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $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 $
-
-EAPI="3"
+# $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 $
 
+EAPI=5
 inherit eutils toolchain-funcs
 
 DESCRIPTION="A minimal console text editor"
@@ -16,27 +15,27 @@
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="alpha amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE=""
 
-DEPEND="sys-libs/ncurses"
-RDEPEND="${DEPEND}"
+RDEPEND="sys-libs/ncurses"
+DEPEND="
+       ${RDEPEND}
+       virtual/pkgconfig
+"
 
 src_prepare() {
-       epatch "${FILESDIR}"/${P}-asneeded.patch \
+       epatch \
+               "${FILESDIR}"/${P}-asneeded.patch \
                "${FILESDIR}"/${P}-davrc-buffer-overflow.patch
 }
 
+# Makefile only
 src_configure() { :; }
 
 src_compile() {
-       emake CFLAGS="${CFLAGS}" \
-               LDFLAGS="${LDFLAGS} -lncurses" \
+       emake \
                CC="$(tc-getCC)" \
-               || die "emake failed"
+               CFLAGS="${CFLAGS}" \
+               LDFLAGS="${LDFLAGS} $( $(tc-getPKG_CONFIG) --libs ncurses)"
 }
 
-src_install() {
-       # no ./configure and doesn't hardcode /usr, so ED is fine
-       emake DESTDIR="${ED}" install || die
-       dodoc README
-}
+DOCS=( README )




Reply via email to