jer         14/10/27 12:22:12

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

Revision  Changes    Path
1.29                 net-analyzer/bwmon/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/bwmon/ChangeLog?rev=1.29&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/bwmon/ChangeLog?rev=1.29&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/bwmon/ChangeLog?r1=1.28&r2=1.29

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/bwmon/ChangeLog,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- ChangeLog   10 Jul 2014 19:51:24 -0000      1.28
+++ ChangeLog   27 Oct 2014 12:22:12 -0000      1.29
@@ -1,6 +1,10 @@
 # ChangeLog for net-analyzer/bwmon
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bwmon/ChangeLog,v 1.28 
2014/07/10 19:51:24 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bwmon/ChangeLog,v 1.29 
2014/10/27 12:22:12 jer Exp $
+
+  27 Oct 2014; Jeroen Roovers <[email protected]> bwmon-1.3-r2.ebuild,
+  +files/bwmon-1.3-tinfo.patch:
+  Fix building against sys-libs/ncurses[tinfo] (bug #527046).
 
   10 Jul 2014; Jeroen Roovers <[email protected]> -bwmon-1.3.ebuild,
   -bwmon-1.3-r1.ebuild, bwmon-1.3-r2.ebuild, files/bwmon-1.3-build.patch,



1.8                  net-analyzer/bwmon/bwmon-1.3-r2.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/bwmon/bwmon-1.3-r2.ebuild?rev=1.8&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/bwmon/bwmon-1.3-r2.ebuild?rev=1.8&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/bwmon/bwmon-1.3-r2.ebuild?r1=1.7&r2=1.8

Index: bwmon-1.3-r2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/bwmon/bwmon-1.3-r2.ebuild,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- bwmon-1.3-r2.ebuild 10 Jul 2014 19:51:24 -0000      1.7
+++ bwmon-1.3-r2.ebuild 27 Oct 2014 12:22:12 -0000      1.8
@@ -1,32 +1,34 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bwmon/bwmon-1.3-r2.ebuild,v 
1.7 2014/07/10 19:51:24 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bwmon/bwmon-1.3-r2.ebuild,v 
1.8 2014/10/27 12:22:12 jer Exp $
 
 EAPI=5
-
 inherit eutils toolchain-funcs
 
 DESCRIPTION="Simple ncurses bandwidth monitor"
 HOMEPAGE="http://bwmon.sourceforge.net/";
 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
-DEPEND="sys-libs/ncurses"
-RDEPEND="${DEPEND}"
+RDEPEND="sys-libs/ncurses"
+DEPEND="
+       ${RDEPEND}
+       virtual/pkgconfig
+"
 
 SLOT="0"
 LICENSE="GPL-2 public-domain"
 KEYWORDS="amd64 hppa ppc sparc x86"
 
 src_prepare() {
-       epatch "${FILESDIR}"/${P}-build.patch
-       # Fix a typo in help wrt bug #263326
-       epatch "${FILESDIR}"/${P}-typo-fix.patch
-       # Fix an overflow wrt bug #441420
-       epatch "${FILESDIR}"/${P}-overflow.patch
+       epatch \
+               "${FILESDIR}"/${P}-build.patch \
+               "${FILESDIR}"/${P}-typo-fix.patch \
+               "${FILESDIR}"/${P}-overflow.patch \
+               "${FILESDIR}"/${P}-tinfo.patch
 }
 
 src_compile() {
-       emake -Csrc CC="$(tc-getCC)"
+       emake -C src CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
 }
 
 src_install () {




Reply via email to