summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-07-26 15:45:41 +0200
committerJeroen Roovers <jer@gentoo.org>2016-07-26 15:46:31 +0200
commit928258746d25d2461a909dded7bb323b2b0f0d7a (patch)
treee3a4852602d73afebff18c954a7b43f869d7e26a /net-libs/libpcap
parentnet-analyzer/tcpdump: Update live ebuild. (diff)
downloadgentoo-928258746d25d2461a909dded7bb323b2b0f0d7a.tar.gz
gentoo-928258746d25d2461a909dded7bb323b2b0f0d7a.tar.bz2
gentoo-928258746d25d2461a909dded7bb323b2b0f0d7a.zip
net-libs/libpcap: Update live ebuild.
Package-Manager: portage-2.3.0
Diffstat (limited to 'net-libs/libpcap')
-rw-r--r--net-libs/libpcap/libpcap-9999.ebuild21
1 files changed, 12 insertions, 9 deletions
diff --git a/net-libs/libpcap/libpcap-9999.ebuild b/net-libs/libpcap/libpcap-9999.ebuild
index 5a09a1502eb8..1c311cddf268 100644
--- a/net-libs/libpcap/libpcap-9999.ebuild
+++ b/net-libs/libpcap/libpcap-9999.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
inherit autotools eutils git-r3 multilib-minimal
DESCRIPTION="A system-independent library for user-level network packet capture"
@@ -12,7 +12,7 @@ EGIT_REPO_URI="https://github.com/the-tcpdump-group/libpcap"
LICENSE="BSD"
SLOT="0"
KEYWORDS=""
-IUSE="bluetooth dbus ipv6 netlink static-libs canusb"
+IUSE="bluetooth dbus netlink static-libs canusb"
RDEPEND="
bluetooth? ( net-wireless/bluez:=[${MULTILIB_USEDEP}] )
@@ -26,16 +26,20 @@ DEPEND="${RDEPEND}
dbus? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.2.0-cross-linux.patch
+ "${FILESDIR}"/${PN}-1.6.1-configure.patch
+ "${FILESDIR}"/${PN}-1.6.1-prefix-solaris.patch
+ "${FILESDIR}"/${PN}-1.7.2-libnl.patch
+ )
src_prepare() {
- epatch \
- "${FILESDIR}"/${PN}-1.2.0-cross-linux.patch \
- "${FILESDIR}"/${PN}-1.6.1-configure.patch \
- "${FILESDIR}"/${PN}-1.6.1-prefix-solaris.patch \
- "${FILESDIR}"/${PN}-1.7.2-libnl.patch
+ default
mkdir bluetooth || die
cp "${FILESDIR}"/mgmt.h bluetooth/ || die
+ eapply_user
+
eautoreconf
}
@@ -43,7 +47,6 @@ multilib_src_configure() {
ECONF_SOURCE="${S}" \
econf \
$(use_enable bluetooth) \
- $(use_enable ipv6) \
$(use_enable canusb) \
$(use_enable dbus) \
$(use_with netlink libnl)