summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-10-29 19:22:11 +0000
committerPeter Volkov <pva@gentoo.org>2008-10-29 19:22:11 +0000
commit6b8f8613571ae65aa7856e90b35dc366e87fa0f7 (patch)
tree551fb724fc978edffaf4d980605933b57c6752ee /net-libs
parentBump to gksu-2.0.0-r2 (diff)
downloadgentoo-2-6b8f8613571ae65aa7856e90b35dc366e87fa0f7.tar.gz
gentoo-2-6b8f8613571ae65aa7856e90b35dc366e87fa0f7.tar.bz2
gentoo-2-6b8f8613571ae65aa7856e90b35dc366e87fa0f7.zip
Added 'replace-flags -O? -O2' to fix tests, bug #218541, thank Guy Martin for help.
(Portage version: 2.2_rc12/cvs/Linux 2.6.26-openvz.git-35f41f1 i686)
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libsmi/ChangeLog6
-rw-r--r--net-libs/libsmi/libsmi-0.4.8.ebuild13
2 files changed, 16 insertions, 3 deletions
diff --git a/net-libs/libsmi/ChangeLog b/net-libs/libsmi/ChangeLog
index cd1b6085ef21..e918c1156e4c 100644
--- a/net-libs/libsmi/ChangeLog
+++ b/net-libs/libsmi/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-libs/libsmi
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libsmi/ChangeLog,v 1.27 2008/10/29 12:56:37 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libsmi/ChangeLog,v 1.28 2008/10/29 19:22:11 pva Exp $
+
+ 29 Oct 2008; Peter Volkov <pva@gentoo.org> libsmi-0.4.8.ebuild:
+ Added 'replace-flags -O? -O2' to fix tests, bug #218541, thank Guy Martin
+ for help.
29 Oct 2008; Peter Volkov <pva@gentoo.org> -libsmi-0.4.5.ebuild,
-libsmi-0.4.7.ebuild:
diff --git a/net-libs/libsmi/libsmi-0.4.8.ebuild b/net-libs/libsmi/libsmi-0.4.8.ebuild
index 0551b90f301d..04ee41862512 100644
--- a/net-libs/libsmi/libsmi-0.4.8.ebuild
+++ b/net-libs/libsmi/libsmi-0.4.8.ebuild
@@ -1,15 +1,24 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libsmi/libsmi-0.4.8.ebuild,v 1.8 2008/10/28 01:46:25 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libsmi/libsmi-0.4.8.ebuild,v 1.9 2008/10/29 19:22:11 pva Exp $
+
+inherit flag-o-matic
DESCRIPTION="A Library to Access SMI MIB Information"
SRC_URI="ftp://ftp.ibr.cs.tu-bs.de/pub/local/${PN}/${P}.tar.gz"
HOMEPAGE="http://www.ibr.cs.tu-bs.de/projects/libsmi"
+
LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
IUSE=""
+src_compile() {
+ replace-flags -O? -O2
+ econf
+ emake || die
+}
+
src_test() {
# sming test is known to fail and some other fail if LC_ALL!=C:
# http://mail.ibr.cs.tu-bs.de/pipermail/libsmi/2008-March/001014.html
@@ -18,6 +27,6 @@ src_test() {
}
src_install () {
- emake DESTDIR="${D}" install
+ emake DESTDIR="${D}" install || die
dodoc smi.conf-example ANNOUNCE ChangeLog README THANKS TODO doc/{*.txt,smi.dia,smi.dtd,smi.xsd}
}