diff options
author | Jason A. Donenfeld <zx2c4@gentoo.org> | 2021-10-29 14:15:52 +0200 |
---|---|---|
committer | Jason A. Donenfeld <zx2c4@gentoo.org> | 2021-10-29 14:18:03 +0200 |
commit | 6d99df4f1157e23c300ad18f50512e718d8795c3 (patch) | |
tree | d9f687770a0b3c53e5dd42a7fbc35a4ba554395a /net-libs/xdp-tools | |
parent | dev-vcs/rcs: backport t810 test fix for 5.9.4 (diff) | |
download | gentoo-6d99df4f1157e23c300ad18f50512e718d8795c3.tar.gz gentoo-6d99df4f1157e23c300ad18f50512e718d8795c3.tar.bz2 gentoo-6d99df4f1157e23c300ad18f50512e718d8795c3.zip |
net-libs/xdp-tools: incorporate suggestions from QA
Thanks sam@.
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>
Diffstat (limited to 'net-libs/xdp-tools')
-rw-r--r-- | net-libs/xdp-tools/xdp-tools-1.2.0.ebuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net-libs/xdp-tools/xdp-tools-1.2.0.ebuild b/net-libs/xdp-tools/xdp-tools-1.2.0.ebuild index c3baff158c9e..d4fa6749732d 100644 --- a/net-libs/xdp-tools/xdp-tools-1.2.0.ebuild +++ b/net-libs/xdp-tools/xdp-tools-1.2.0.ebuild @@ -11,9 +11,9 @@ LICENSE="GPL-2 LGPL-2.1 BSD-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="+doc +tools static-libs" +IUSE="+doc +tools" -DEPEND="dev-libs/libbpf +DEPEND="dev-libs/libbpf:= sys-libs/zlib net-libs/libpcap virtual/libelf" @@ -41,8 +41,8 @@ src_configure() { src_install() { default - rm -rf "${D}/${EPREFIX}/usr/share/xdp-tools" - use static-libs || rm -f "${D}/${EPREFIX}/usr/$(get_libdir)/libxdp.a" - use tools || rm -f "${D}/${EPREFIX}/usr/"{sbin,bin}/* + rm -r "${ED}/usr/share/xdp-tools" || die + rm "${ED}/usr/$(get_libdir)/libxdp.a" || die + use tools || { rm "${ED}/usr/sbin"/* || die; } dostrip -x /usr/lib/bpf } |