From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 283D9158086 for ; Fri, 29 Oct 2021 12:18:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66A5AE085E; Fri, 29 Oct 2021 12:18:08 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 528B8E085E for ; Fri, 29 Oct 2021 12:18:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 612E734311E for ; Fri, 29 Oct 2021 12:18:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 05992177 for ; Fri, 29 Oct 2021 12:18:06 +0000 (UTC) From: "Jason A. Donenfeld" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason A. Donenfeld" Message-ID: <1635509883.6d99df4f1157e23c300ad18f50512e718d8795c3.zx2c4@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/xdp-tools/xdp-tools-1.2.0.ebuild X-VCS-Directories: net-libs/xdp-tools/ X-VCS-Committer: zx2c4 X-VCS-Committer-Name: Jason A. Donenfeld X-VCS-Revision: 6d99df4f1157e23c300ad18f50512e718d8795c3 X-VCS-Branch: master Date: Fri, 29 Oct 2021 12:18:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b5120dc8-26f6-429e-b648-7ed58440e859 X-Archives-Hash: ef3667a8571411b41131ded4b37f6268 commit: 6d99df4f1157e23c300ad18f50512e718d8795c3 Author: Jason A. Donenfeld gentoo org> AuthorDate: Fri Oct 29 12:15:52 2021 +0000 Commit: Jason A. Donenfeld gentoo org> CommitDate: Fri Oct 29 12:18:03 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d99df4f 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 gentoo.org> net-libs/xdp-tools/xdp-tools-1.2.0.ebuild | 10 +++++----- 1 file 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 c3baff158c9..d4fa6749732 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 }