summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/kismet/kismet-9999.ebuild')
-rw-r--r--net-wireless/kismet/kismet-9999.ebuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/net-wireless/kismet/kismet-9999.ebuild b/net-wireless/kismet/kismet-9999.ebuild
index 2b1292aff57d..60b19468d9eb 100644
--- a/net-wireless/kismet/kismet-9999.ebuild
+++ b/net-wireless/kismet/kismet-9999.ebuild
@@ -3,7 +3,9 @@
EAPI=6
-inherit autotools eutils multilib user
+PYTHON_COMPAT=( python2_7 )
+
+inherit autotools eutils multilib user python-single-r1
MY_P=${P/\./-}
MY_P=${MY_P/./-R}
@@ -28,6 +30,7 @@ SLOT="0/${PV}"
IUSE="+pcre speech selinux +suid"
CDEPEND="
+ ${PYTHON_DEPS}
net-misc/networkmanager:=
dev-libs/glib:=
dev-libs/elfutils:=
@@ -64,14 +67,15 @@ src_prepare() {
sed -i -e 's| -s||g' \
-e 's|@mangrp@|root|g' Makefile.in
+ eapply "${FILESDIR}/fix-setuptools.patch"
eapply_user
eautoreconf
}
src_configure() {
econf \
- $(use_enable pcre) \
- --disable-python-tools
+ $(use_enable pcre)
+ #--disable-python-tools
}
src_compile() {
@@ -133,7 +137,7 @@ src_install() {
# dobin *.rb
#fi
- cd "${S}"
+ #cd "${S}"
emake DESTDIR="${D}" commoninstall
emake DESTDIR="${D}" forceconfigs