diff options
Diffstat (limited to 'net-libs/libsmi')
-rw-r--r-- | net-libs/libsmi/libsmi-0.4.8-r1.ebuild | 3 | ||||
-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 } |