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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 529D813835A for ; Sun, 16 Aug 2020 09:36:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 751FCE0822; Sun, 16 Aug 2020 09:36:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5CC37E0822 for ; Sun, 16 Aug 2020 09:36:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 30ADE34EEAF for ; Sun, 16 Aug 2020 09:36:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B2D5D316 for ; Sun, 16 Aug 2020 09:36:20 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1597570577.dc6e9f6e27d40d4f52bd5961a0a4e0034779bf37.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/net-snmp/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/net-snmp/net-snmp-5.9-r1.ebuild net-analyzer/net-snmp/net-snmp-5.9.ebuild X-VCS-Directories: net-analyzer/net-snmp/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: dc6e9f6e27d40d4f52bd5961a0a4e0034779bf37 X-VCS-Branch: master Date: Sun, 16 Aug 2020 09:36:20 +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: 1a0ee4bb-bc7a-4ddc-b5f5-5907eb84dd4c X-Archives-Hash: 7ab1b013a2441acb2266454884d52d4d commit: dc6e9f6e27d40d4f52bd5961a0a4e0034779bf37 Author: Jeroen Roovers gentoo org> AuthorDate: Sun Aug 16 09:24:55 2020 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Sun Aug 16 09:36:17 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc6e9f6e net-analyzer/net-snmp: Run poor person's distclean The source tarball distributed through Github and Sourceforge contains amd64 specific binaries that should have been removed before packaging. While there, run `make sedscript` before other build targets. Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Jeroen Roovers gentoo.org> .../net-snmp/{net-snmp-5.9.ebuild => net-snmp-5.9-r1.ebuild} | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/net-analyzer/net-snmp/net-snmp-5.9.ebuild b/net-analyzer/net-snmp/net-snmp-5.9-r1.ebuild similarity index 97% rename from net-analyzer/net-snmp/net-snmp-5.9.ebuild rename to net-analyzer/net-snmp/net-snmp-5.9-r1.ebuild index 5f50c7d5aff..09e90cd5624 100644 --- a/net-analyzer/net-snmp/net-snmp-5.9.ebuild +++ b/net-analyzer/net-snmp/net-snmp-5.9-r1.ebuild @@ -85,6 +85,9 @@ pkg_setup() { } src_prepare() { + find -type d -name .libs -depth -exec rm -r {} \; || die + find -type f -name '*.o' -o -name '*.lo' -exec rm {} \; || die + # snmpconf generates config files with proper selinux context use selinux && eapply "${FILESDIR}"/${PN}-5.1.2-snmpconf-selinux.patch @@ -138,6 +141,8 @@ src_configure() { } src_compile() { + emake sedscript + local subdir for subdir in snmplib agent/mibgroup agent apps .; do emake OTHERLDFLAGS="${LDFLAGS}" -C ${subdir} all