net-analyzer/darkstat: Fix dependencies.

Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
Jeroen Roovers
2017-02-22 00:53:08 +01:00
parent a440000de7
commit ece1b9226f
2 changed files with 22 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -13,8 +13,13 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
DEPEND="net-libs/libpcap"
RDEPEND="${DEPEND}"
DEPEND="
net-libs/libpcap
sys-libs/zlib
"
RDEPEND="
${DEPEND}
"
DARKSTAT_CHROOT_DIR=${DARKSTAT_CHROOT_DIR:-/var/lib/darkstat}

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit autotools eutils user
EAPI=6
inherit autotools user
DESCRIPTION="Network traffic analyzer with cute web interface"
HOMEPAGE="http://unix4lyfe.org/darkstat/"
@@ -13,16 +13,24 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
DEPEND="net-libs/libpcap"
RDEPEND="${DEPEND}"
DEPEND="
dev-libs/libbsd
net-libs/libpcap
sys-libs/zlib
"
RDEPEND="
${DEPEND}
"
DARKSTAT_CHROOT_DIR=${DARKSTAT_CHROOT_DIR:-/var/lib/darkstat}
DOCS=( AUTHORS ChangeLog README NEWS )
src_prepare() {
default
sed -i -e 's|-flto||g' configure.ac || die
epatch_user
eautoreconf
}