commit:     9c77e2c11c11d10309ab1674d8a850ef48f3aab3
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 20 17:32:05 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Mar 20 17:32:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c77e2c1

net-misc/usbip: [QA] EAPI 8 cleanup

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 net-misc/usbip/usbip-5.15.ebuild | 12 +++++-------
 1 file 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
 }
 

Reply via email to