summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2012-10-27 15:43:35 +0000
committerSergey Popov <pinkbyte@gentoo.org>2012-10-27 15:43:35 +0000
commit32abe31a2b71695aac9f5b05354e9b62a10d1199 (patch)
treef95228355069dc0f7e490e16edcd7d6617ddf331 /net-analyzer/jnettop
parentVersion bump, bug 439812 (diff)
downloadgentoo-2-32abe31a2b71695aac9f5b05354e9b62a10d1199.tar.gz
gentoo-2-32abe31a2b71695aac9f5b05354e9b62a10d1199.tar.bz2
gentoo-2-32abe31a2b71695aac9f5b05354e9b62a10d1199.zip
Fix automagic dependencies wrt bug #439752. Thanks to Phr33d0m for discovering this issue
(Portage version: 2.2.0_alpha141/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'net-analyzer/jnettop')
-rw-r--r--net-analyzer/jnettop/ChangeLog6
-rw-r--r--net-analyzer/jnettop/jnettop-0.13.0-r1.ebuild16
2 files changed, 18 insertions, 4 deletions
diff --git a/net-analyzer/jnettop/ChangeLog b/net-analyzer/jnettop/ChangeLog
index d144f8b24c9b..bd9b1ba8e4bb 100644
--- a/net-analyzer/jnettop/ChangeLog
+++ b/net-analyzer/jnettop/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-analyzer/jnettop
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/jnettop/ChangeLog,v 1.24 2012/08/17 04:50:27 heroxbd Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/jnettop/ChangeLog,v 1.25 2012/10/27 15:43:35 pinkbyte Exp $
+
+ 27 Oct 2012; Sergey Popov <pinkbyte@gentoo.org> jnettop-0.13.0-r1.ebuild:
+ Fix automagic dependencies wrt bug #439752. Thanks to Phr33d0m for
+ discovering this issue
17 Aug 2012; Benda Xu <heroxbd@gentoo.org> jnettop-0.13.0-r1.ebuild:
keyword ~arm and ~x86-linux. ref #431612
diff --git a/net-analyzer/jnettop/jnettop-0.13.0-r1.ebuild b/net-analyzer/jnettop/jnettop-0.13.0-r1.ebuild
index 6f7285d292f6..1c4cd0e36162 100644
--- a/net-analyzer/jnettop/jnettop-0.13.0-r1.ebuild
+++ b/net-analyzer/jnettop/jnettop-0.13.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/jnettop/jnettop-0.13.0-r1.ebuild,v 1.6 2012/08/17 04:50:27 heroxbd Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/jnettop/jnettop-0.13.0-r1.ebuild,v 1.7 2012/10/27 15:43:35 pinkbyte Exp $
EAPI=4
inherit autotools eutils
@@ -12,10 +12,13 @@ SRC_URI="http://jnettop.kubs.info/dist/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~sparc x86 ~x86-linux"
-IUSE=""
+IUSE="berkdb ncurses syslog"
RDEPEND="net-libs/libpcap
- >=dev-libs/glib-2.0.1"
+ >=dev-libs/glib-2.0.1
+ berkdb? ( =sys-libs/db-4* )
+ ncurses? ( sys-libs/ncurses )
+ syslog? ( virtual/logger )"
DEPEND="${RDEPEND}
virtual/pkgconfig"
@@ -27,6 +30,13 @@ src_prepare() {
eautoreconf
}
+src_configure() {
+ econf \
+ $(use_with ncurses) \
+ $(use_with berkdb db4) \
+ $(use_with syslog)
+}
+
src_install() {
default
newdoc .${PN} ${PN}.dotfile