Skip to content

Commit

Permalink
net-analyzer/tcpdump: Update live ebuild.
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.8, Repoman-2.3.3
  • Loading branch information
Jeroen Roovers committed Sep 8, 2017
1 parent 2b45ef9 commit c6b870a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions net-analyzer/tcpdump/tcpdump-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2

EAPI=6
inherit eutils flag-o-matic toolchain-funcs user
inherit flag-o-matic toolchain-funcs user

DESCRIPTION="A Tool for network monitoring and data acquisition"
EGIT_REPO_URI="https://github.com/the-tcpdump-group/tcpdump"
Expand Down Expand Up @@ -48,13 +48,6 @@ pkg_setup() {
}

src_configure() {
# tcpdump needs some optimization. see bug #108391
# but do not replace -Os
filter-flags -O[0-9]
has -O? ${CFLAGS} || append-cflags -O2

filter-flags -finline-functions

if use drop-root; then
append-cppflags -DHAVE_CAP_NG_H
export LIBS=$( $(tc-getPKG_CONFIG) --libs libcap-ng )
Expand Down

0 comments on commit c6b870a

Please sign in to comment.