Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/nb: ChangeLog nb-0.8.3.ebuild
Date: Fri, 18 Nov 2011 04:35:04
Message-Id: 20111118043454.A92E62004B@flycatcher.gentoo.org
1 jer 11/11/18 04:34:54
2
3 Modified: ChangeLog nb-0.8.3.ebuild
4 Log:
5 Respect CFLAGS/LDFLAGS. Fix underlinking issue by using pkg-config to obtain a list of libraries (bug #371893). Build nbTutorial.info without including fdl.texi.
6
7 (Portage version: 2.2.0_alpha75/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.11 net-analyzer/nb/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nb/ChangeLog?rev=1.11&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nb/ChangeLog?rev=1.11&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nb/ChangeLog?r1=1.10&r2=1.11
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nb/ChangeLog,v
19 retrieving revision 1.10
20 retrieving revision 1.11
21 diff -u -r1.10 -r1.11
22 --- ChangeLog 27 Oct 2011 18:42:06 -0000 1.10
23 +++ ChangeLog 18 Nov 2011 04:34:54 -0000 1.11
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-analyzer/nb
26 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nb/ChangeLog,v 1.10 2011/10/27 18:42:06 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nb/ChangeLog,v 1.11 2011/11/18 04:34:54 jer Exp $
29 +
30 + 18 Nov 2011; Jeroen Roovers <jer@g.o> nb-0.8.3.ebuild,
31 + +files/nb-0.8.3-configure.patch:
32 + Respect CFLAGS/LDFLAGS. Fix underlinking issue by using pkg-config to obtain
33 + a list of libraries (bug #371893). Build nbTutorial.info without including
34 + fdl.texi.
35
36 27 Oct 2011; Jeroen Roovers <jer@g.o> nb-0.6.5-r1.ebuild,
37 nb-0.8.3.ebuild:
38
39
40
41 1.3 net-analyzer/nb/nb-0.8.3.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nb/nb-0.8.3.ebuild?rev=1.3&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nb/nb-0.8.3.ebuild?rev=1.3&content-type=text/plain
45 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nb/nb-0.8.3.ebuild?r1=1.2&r2=1.3
46
47 Index: nb-0.8.3.ebuild
48 ===================================================================
49 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nb/nb-0.8.3.ebuild,v
50 retrieving revision 1.2
51 retrieving revision 1.3
52 diff -u -r1.2 -r1.3
53 --- nb-0.8.3.ebuild 27 Oct 2011 18:42:06 -0000 1.2
54 +++ nb-0.8.3.ebuild 18 Nov 2011 04:34:54 -0000 1.3
55 @@ -1,10 +1,10 @@
56 # Copyright 1999-2011 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nb/nb-0.8.3.ebuild,v 1.2 2011/10/27 18:42:06 jer Exp $
59 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nb/nb-0.8.3.ebuild,v 1.3 2011/11/18 04:34:54 jer Exp $
60
61 EAPI="3"
62
63 -inherit autotools-utils
64 +inherit autotools autotools-utils eutils
65
66 DESCRIPTION="Nodebrain is a tool to monitor and do event correlation."
67 HOMEPAGE="http://nodebrain.sourceforge.net/"
68 @@ -15,7 +15,10 @@
69 KEYWORDS="~ppc ~x86"
70 IUSE="static-libs"
71
72 -DEPEND="dev-lang/perl"
73 +DEPEND="
74 + dev-lang/perl
75 + sys-apps/texinfo
76 +"
77 RDEPEND="
78 !sys-boot/netboot
79 !www-apps/nanoblogger
80 @@ -24,13 +27,16 @@
81 S="${WORKDIR}/nodebrain-${PV}"
82
83 src_prepare() {
84 - # Prevent make from rebuilding this target, since
85 - # fdl.texi is not included in the distribution
86 - touch doc/nbTutorial/nbTutorial.info || die
87 + epatch "${FILESDIR}"/${P}-configure.patch
88 +
89 + # fdl.texi is not included in the sources
90 + sed -i doc/nbTutorial/nbTutorial.texi -e '/@include fdl.texi/d' || die
91 +
92 + eautoreconf
93 }
94
95 src_configure() {
96 - econf $(use_enable static-libs static)
97 + econf $(use_enable static-libs static) --include=/usr/include
98 }
99
100 src_compile() {
101 @@ -39,7 +45,6 @@
102 }
103
104 src_install() {
105 - #DIR="${D}/usr" ./install-nb || die "install failed"
106 emake DESTDIR="${D}" install || die
107 use static-libs || remove_libtool_files
108 dodoc AUTHORS NEWS README THANKS sample/*