summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-08-14 15:06:06 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-08-14 15:06:06 +0000
commit427f06669ccbd1eb72a8593d2f6625e3b27e5c6d (patch)
treed0c69c951e6df7cbc661ad4a6e5836f8246106cb /net-analyzer/bmon
parentVersion bump <http://my.opera.com/desktopteam/blog/2008/08/14/9-52-rc1-2>. (diff)
downloadgentoo-2-427f06669ccbd1eb72a8593d2f6625e3b27e5c6d.tar.gz
gentoo-2-427f06669ccbd1eb72a8593d2f6625e3b27e5c6d.tar.bz2
gentoo-2-427f06669ccbd1eb72a8593d2f6625e3b27e5c6d.zip
I removed the wrong one, restoring
(Portage version: 2.1.4.4, RepoMan options: --force)
Diffstat (limited to 'net-analyzer/bmon')
-rw-r--r--net-analyzer/bmon/bmon-2.1.0-r3.ebuild (renamed from net-analyzer/bmon/bmon-2.1.0-r2.ebuild)9
-rw-r--r--net-analyzer/bmon/files/bmon-2.1.0-libnl-1.0.patch23
2 files changed, 29 insertions, 3 deletions
diff --git a/net-analyzer/bmon/bmon-2.1.0-r2.ebuild b/net-analyzer/bmon/bmon-2.1.0-r3.ebuild
index 59b5b2d6583b..b09470c9e752 100644
--- a/net-analyzer/bmon/bmon-2.1.0-r2.ebuild
+++ b/net-analyzer/bmon/bmon-2.1.0-r3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bmon/bmon-2.1.0-r2.ebuild,v 1.9 2007/02/01 21:29:46 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bmon/bmon-2.1.0-r3.ebuild,v 1.8 2008/08/14 15:06:06 armin76 Exp $
inherit eutils toolchain-funcs
@@ -10,7 +10,7 @@ SRC_URI="http://people.suug.ch/~tgr/bmon/files/${P}.tar.gz"
LICENSE="Artistic"
SLOT="0"
-KEYWORDS="amd64 hppa ~ppc x86"
+KEYWORDS="amd64 hppa ~ppc ~sparc x86"
IUSE="dbi rrdtool"
DEPEND=">=sys-libs/ncurses-5.3-r2
@@ -25,6 +25,9 @@ src_unpack() {
epatch "${FILESDIR}"/${P}-gcc4.diff
# Don't strip, bug #144370
epatch "${FILESDIR}"/${P}-nostrip.patch
+ # libnl crap, bug 176378
+ epatch "${FILESDIR}"/${P}-libnl-1.0.patch
+
}
src_compile() {
diff --git a/net-analyzer/bmon/files/bmon-2.1.0-libnl-1.0.patch b/net-analyzer/bmon/files/bmon-2.1.0-libnl-1.0.patch
new file mode 100644
index 000000000000..32b3e21cce99
--- /dev/null
+++ b/net-analyzer/bmon/files/bmon-2.1.0-libnl-1.0.patch
@@ -0,0 +1,23 @@
+--- configure~ 2007-09-03 23:46:20.000000000 +0200
++++ configure 2007-09-03 23:46:20.000000000 +0200
+@@ -7327,13 +7327,13 @@ echo "$as_me:$LINENO: result: $ac_cv_lib
+ echo "${ECHO_T}$ac_cv_lib_nl_nl_connect" >&6
+ if test $ac_cv_lib_nl_nl_connect = yes; then
+
+-
+-cat >>confdefs.h <<_ACEOF
+-#define HAVE_NL "1"
+-_ACEOF
+-
+- LIBNL="-lnl"
+- NL="Yes"
++ case ${target_os} in
++ *linux*)
++ echo
++ echo "*** Warning: Building bmon on Linuxx w/o libnl ***"
++ echo
++ ;;
++ esac
+
+ else
+