summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-08-24 10:38:53 +0200
committerJeroen Roovers <jer@gentoo.org>2020-08-24 10:39:20 +0200
commit200fe36567c4eddc8838aa2c6a2de75e0fc2ffab (patch)
treeddddddd8a722bc9af84545d886a3bf9facc5d622 /net-libs/libsmi
parentapp-text/texlive-core: Drop old (diff)
downloadgentoo-200fe36567c4eddc8838aa2c6a2de75e0fc2ffab.tar.gz
gentoo-200fe36567c4eddc8838aa2c6a2de75e0fc2ffab.tar.bz2
gentoo-200fe36567c4eddc8838aa2c6a2de75e0fc2ffab.zip
net-libs/libsmi: Add missing dependency on virtual/yacc
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-libs/libsmi')
-rw-r--r--net-libs/libsmi/libsmi-0.4.8-r1.ebuild3
-rw-r--r--net-libs/libsmi/libsmi-0.5.0-r1.ebuild (renamed from net-libs/libsmi/libsmi-0.5.0.ebuild)14
2 files changed, 12 insertions, 5 deletions
diff --git a/net-libs/libsmi/libsmi-0.4.8-r1.ebuild b/net-libs/libsmi/libsmi-0.4.8-r1.ebuild
index 0892ae6d97c8..4c9cae8dfac7 100644
--- a/net-libs/libsmi/libsmi-0.4.8-r1.ebuild
+++ b/net-libs/libsmi/libsmi-0.4.8-r1.ebuild
@@ -12,6 +12,9 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 s390 sparc x86"
IUSE="static-libs"
+DEPEND="
+ virtual/yacc
+"
src_prepare() {
epatch "${FILESDIR}"/${P}-CVE-2010-2891.patch
diff --git a/net-libs/libsmi/libsmi-0.5.0.ebuild b/net-libs/libsmi/libsmi-0.5.0-r1.ebuild
index 22f53d929ec0..a92be813b4d1 100644
--- a/net-libs/libsmi/libsmi-0.5.0.ebuild
+++ b/net-libs/libsmi/libsmi-0.5.0-r1.ebuild
@@ -1,8 +1,7 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils ltprune
+EAPI=7
DESCRIPTION="A Library to Access SMI MIB Information"
HOMEPAGE="https://www.ibr.cs.tu-bs.de/projects/libsmi/"
@@ -12,6 +11,9 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="static-libs"
+BDEPEND="
+ virtual/yacc
+"
src_configure() {
econf $(use_enable static-libs static)
@@ -26,7 +28,9 @@ src_test() {
src_install() {
default
- dodoc smi.conf-example ANNOUNCE ChangeLog README THANKS TODO \
- doc/{*.txt,smi.dia,smi.dtd,smi.xsd}
- prune_libtool_files
+
+ dodoc ANNOUNCE ChangeLog README THANKS TODO \
+ doc/{*.txt,smi.dia,smi.dtd,smi.xsd} smi.conf-example
+
+ find "${ED}" -name '*.la' -delete || die
}