diff options
author | 2010-05-31 20:50:13 +0000 | |
---|---|---|
committer | 2010-05-31 20:50:13 +0000 | |
commit | 73e7c6189399550c31d15475ce5c51c7b94f0d57 (patch) | |
tree | e2de690cd2ce08af08dc685dcfbe63805891a8e4 /net-analyzer/nfdump/nfdump-1.6.1.ebuild | |
parent | Marked ~ppc for bug #321497. (diff) | |
download | historical-73e7c6189399550c31d15475ce5c51c7b94f0d57.tar.gz historical-73e7c6189399550c31d15475ce5c51c7b94f0d57.tar.bz2 historical-73e7c6189399550c31d15475ce5c51c7b94f0d57.zip |
When USE=ftconv, after we run eautoreconf, we need to define the switches differently (bug #322201).
Package-Manager: portage-2.2_rc67/cvs/Linux i686
Diffstat (limited to 'net-analyzer/nfdump/nfdump-1.6.1.ebuild')
-rw-r--r-- | net-analyzer/nfdump/nfdump-1.6.1.ebuild | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/net-analyzer/nfdump/nfdump-1.6.1.ebuild b/net-analyzer/nfdump/nfdump-1.6.1.ebuild index 59d1798a0fb6..a0c8f434228a 100644 --- a/net-analyzer/nfdump/nfdump-1.6.1.ebuild +++ b/net-analyzer/nfdump/nfdump-1.6.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nfdump/nfdump-1.6.1.ebuild,v 1.1 2010/05/06 09:10:36 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nfdump/nfdump-1.6.1.ebuild,v 1.2 2010/05/31 20:50:13 jer Exp $ EAPI=2 inherit autotools eutils @@ -35,10 +35,17 @@ src_prepare() { } src_configure() { - # $(use_enable readpcap) \ + # When USE=ftconv, after we run eautoreconf, we need to define the switches + # differently (bug #322201) + local myconf + if use ftconv; then + myconf="--with-ftpath=/usr --enable-ftconv" + else + myconf="--without-ftconv" + fi + econf \ - $(use_enable ftconv) \ - $(use_with ftconv ftpath="/usr") \ + ${myconf} \ $(use_enable nfprofile) \ $(use_enable sflow) } |