jer         14/07/17 00:46:51

  Modified:             ChangeLog sinfo-0.0.47.ebuild
  Log:
  Fix building against sys-libs/ncurses[tinfo].
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
A792A613)

Revision  Changes    Path
1.15                 net-analyzer/sinfo/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/sinfo/ChangeLog,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- ChangeLog   8 Oct 2012 20:21:44 -0000       1.14
+++ ChangeLog   17 Jul 2014 00:46:51 -0000      1.15
@@ -1,6 +1,10 @@
 # ChangeLog for net-analyzer/sinfo
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sinfo/ChangeLog,v 1.14 
2012/10/08 20:21:44 radhermit Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sinfo/ChangeLog,v 1.15 
2014/07/17 00:46:51 jer Exp $
+
+  17 Jul 2014; Jeroen Roovers <[email protected]> sinfo-0.0.47.ebuild,
+  +files/sinfo-0.0.47-tinfo.patch:
+  Fix building against sys-libs/ncurses[tinfo].
 
   08 Oct 2012; Tim Harder <[email protected]> sinfo-0.0.47.ebuild:
   Add blocker against sys-cluster/slurm (bug #437476 by Diego Elio Pettenò).



1.3                  net-analyzer/sinfo/sinfo-0.0.47.ebuild

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

Index: sinfo-0.0.47.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/sinfo/sinfo-0.0.47.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sinfo-0.0.47.ebuild 8 Oct 2012 20:21:44 -0000       1.2
+++ sinfo-0.0.47.ebuild 17 Jul 2014 00:46:51 -0000      1.3
@@ -1,37 +1,42 @@
-# 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/net-analyzer/sinfo/sinfo-0.0.47.ebuild,v 
1.2 2012/10/08 20:21:44 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sinfo/sinfo-0.0.47.ebuild,v 
1.3 2014/07/17 00:46:51 jer Exp $
 
-EAPI="4"
-
-inherit autotools-utils
+EAPI=5
+inherit autotools eutils
 
 DESCRIPTION="A monitoring tool for networked computers"
 HOMEPAGE="http://www.ant.uni-bremen.de/whomes/rinas/sinfo/";
-SRC_URI="http://www.ant.uni-bremen.de/whomes/rinas/${PN}/download/${P}.tar.gz";
+SRC_URI="${HOMEPAGE}download/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="ipv6 static-libs"
 
-RDEPEND="!sys-cluster/slurm
+RDEPEND="
+       !sys-cluster/slurm
        dev-libs/boost
-       sys-libs/ncurses"
-DEPEND="${RDEPEND}"
+       sys-libs/ncurses
+"
+DEPEND="
+       ${RDEPEND}
+       virtual/pkgconfig
+"
+
+src_prepare() {
+       epatch "${FILESDIR}"/${P}-tinfo.patch
+       eautoreconf
+}
 
 DOCS=( AUTHORS ChangeLog README )
 
 src_configure() {
-       local myeconfargs=(
-               --with-ncurses
-               $(use_enable ipv6 IPv6)
-       )
-       autotools-utils_src_configure
+       econf $(use_enable ipv6 IPv6)
 }
 
 src_install() {
-       autotools-utils_src_install
+       default
 
        newconfd "${FILESDIR}"/sinfod.confd sinfod
        newinitd "${FILESDIR}"/sinfod.initd sinfod




Reply via email to