summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-03-20 18:32:05 +0100
committerDavid Seifert <soap@gentoo.org>2022-03-20 18:32:05 +0100
commit9c77e2c11c11d10309ab1674d8a850ef48f3aab3 (patch)
tree8c3b68d18766085b9c9dbd0566b9b49552c999cd /net-misc
parentapp-metrics/grok_exporter: drop 0.2.6 (diff)
downloadgentoo-9c77e2c11c11d10309ab1674d8a850ef48f3aab3.tar.gz
gentoo-9c77e2c11c11d10309ab1674d8a850ef48f3aab3.tar.bz2
gentoo-9c77e2c11c11d10309ab1674d8a850ef48f3aab3.zip
net-misc/usbip: [QA] EAPI 8 cleanup
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/usbip/usbip-5.15.ebuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/net-misc/usbip/usbip-5.15.ebuild b/net-misc/usbip/usbip-5.15.ebuild
index 3fcee65007b6..136f8e4e290d 100644
--- a/net-misc/usbip/usbip-5.15.ebuild
+++ b/net-misc/usbip/usbip-5.15.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -10,6 +10,7 @@ inherit autotools kernel-2
DESCRIPTION="Userspace utilities for a general USB device sharing system over IP networks"
HOMEPAGE="https://www.kernel.org/"
SRC_URI="${KERNEL_URI}"
+S="${WORKDIR}/linux-${PV}/tools/usb/${PN}"
LICENSE="GPL-2"
SLOT="0"
@@ -22,10 +23,8 @@ RDEPEND="
>=sys-kernel/linux-headers-3.17
virtual/libudev
tcpd? ( sys-apps/tcp-wrappers )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-S="${WORKDIR}/linux-${PV}/tools/usb/${PN}"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
src_unpack() {
tar xJf "${DISTDIR}"/${A} linux-${PV}/tools/usb/${PN} || die
@@ -41,8 +40,7 @@ src_prepare() {
src_configure() {
econf \
- --disable-static \
- $(use tcpd || echo --without-tcp-wrappers) \
+ $(usev !tcpd --without-tcp-wrappers) \
--with-usbids-dir="${EPREFIX}"/usr/share/hwdata
}