Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/nfdump: nfdump-1.6.1.ebuild
Date: Tue, 01 Jun 2010 08:14:42
Message-Id: 20100601081440.468AC2CE14@corvid.gentoo.org
1 pva 10/06/01 08:14:40
2
3 Modified: nfdump-1.6.1.ebuild
4 Log:
5 Updated fix by jer as I like terse code more :)
6 (Portage version: 2.1.8.3/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.3 net-analyzer/nfdump/nfdump-1.6.1.ebuild
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nfdump/nfdump-1.6.1.ebuild?rev=1.3&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nfdump/nfdump-1.6.1.ebuild?rev=1.3&content-type=text/plain
13 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nfdump/nfdump-1.6.1.ebuild?r1=1.2&r2=1.3
14
15 Index: nfdump-1.6.1.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nfdump/nfdump-1.6.1.ebuild,v
18 retrieving revision 1.2
19 retrieving revision 1.3
20 diff -u -r1.2 -r1.3
21 --- nfdump-1.6.1.ebuild 31 May 2010 20:50:13 -0000 1.2
22 +++ nfdump-1.6.1.ebuild 1 Jun 2010 08:14:39 -0000 1.3
23 @@ -1,6 +1,6 @@
24 # Copyright 1999-2010 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nfdump/nfdump-1.6.1.ebuild,v 1.2 2010/05/31 20:50:13 jer Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nfdump/nfdump-1.6.1.ebuild,v 1.3 2010/06/01 08:14:39 pva Exp $
28
29 EAPI=2
30 inherit autotools eutils
31 @@ -35,19 +35,12 @@
32 }
33
34 src_configure() {
35 - # When USE=ftconv, after we run eautoreconf, we need to define the switches
36 - # differently (bug #322201)
37 - local myconf
38 - if use ftconv; then
39 - myconf="--with-ftpath=/usr --enable-ftconv"
40 - else
41 - myconf="--without-ftconv"
42 - fi
43 -
44 + # --without-ftconf is not handled well #322201
45 econf \
46 - ${myconf} \
47 + $(use ftconv && echo "--with-ftconf --with-ftpath=/usr") \
48 $(use_enable nfprofile) \
49 $(use_enable sflow)
50 + # $(use_enable readpcap) \
51 }
52
53 src_install() {