commit:     89c704984a3f721a4c8cddc22d58323aa94c326d
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  7 12:54:12 2019 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Dec  7 13:05:10 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89c70498

net-analyzer/net-snmp: Update live ebuild

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 net-analyzer/net-snmp/net-snmp-99999999.ebuild | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/net-analyzer/net-snmp/net-snmp-99999999.ebuild 
b/net-analyzer/net-snmp/net-snmp-99999999.ebuild
index c6deae576b9..901356c5a93 100644
--- a/net-analyzer/net-snmp/net-snmp-99999999.ebuild
+++ b/net-analyzer/net-snmp/net-snmp-99999999.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 PYTHON_COMPAT=( python2_7 )
 DISTUTILS_SINGLE_IMPL=yesplz
 DISTUTILS_OPTIONAL=yesplz
@@ -9,7 +9,7 @@ WANT_AUTOMAKE=none
 PATCHSET=3
 GENTOO_DEPEND_ON_PERL=no
 
-inherit autotools distutils-r1 eutils git-r3 perl-module systemd
+inherit autotools distutils-r1 git-r3 perl-module systemd
 
 DESCRIPTION="Software for generating and retrieving SNMP data"
 HOMEPAGE="http://www.net-snmp.org/";
@@ -72,8 +72,10 @@ S=${WORKDIR}/${P/_p*/}
 RESTRICT=test
 PATCHES=(
        "${FILESDIR}"/${PN}-5.7.3-include-limits.patch
+       "${FILESDIR}"/${PN}-5.8-do-not-conflate-LDFLAGS-and-LIBS.patch
        "${FILESDIR}"/${PN}-5.8-pcap.patch
        "${FILESDIR}"/${PN}-5.8-tinfo.patch
+       "${FILESDIR}"/${PN}-5.8.1-pkg-config.patch
 )
 
 pkg_setup() {
@@ -149,6 +151,8 @@ src_install () {
        # bug #317965
        emake -j1 DESTDIR="${D}" install
 
+       use python && python_optimize
+
        if use perl ; then
                perl_delete_localpod
                if ! use X; then
@@ -203,5 +207,5 @@ src_install () {
                        || die
        fi
 
-       prune_libtool_files
+       find "${ED}" -name '*.la' -delete || die
 }

Reply via email to