summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2014-02-28 11:07:26 +0000
committerSergey Popov <pinkbyte@gentoo.org>2014-02-28 11:07:26 +0000
commit7a2bc064d4f368d6d67e998cebb79bbe21a8db10 (patch)
tree23ee3e1805574d02350c406df1c795077cd1d27e /net-analyzer
parentx86 stable wrt bug #495488 (diff)
downloadgentoo-2-7a2bc064d4f368d6d67e998cebb79bbe21a8db10.tar.gz
gentoo-2-7a2bc064d4f368d6d67e998cebb79bbe21a8db10.tar.bz2
gentoo-2-7a2bc064d4f368d6d67e998cebb79bbe21a8db10.zip
Fix linking with sys-libs/ncurses[tinfo], add epatch_user
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/bmon/ChangeLog7
-rw-r--r--net-analyzer/bmon/bmon-2.1.1_pre1.ebuild9
2 files changed, 12 insertions, 4 deletions
diff --git a/net-analyzer/bmon/ChangeLog b/net-analyzer/bmon/ChangeLog
index d18a1a18eeb6..6ffa4e379d72 100644
--- a/net-analyzer/bmon/ChangeLog
+++ b/net-analyzer/bmon/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/bmon
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bmon/ChangeLog,v 1.47 2013/02/01 15:34:52 jer Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bmon/ChangeLog,v 1.48 2014/02/28 11:07:26 pinkbyte Exp $
+
+ 28 Feb 2014; Sergey Popov <pinkbyte@gentoo.org> bmon-2.1.1_pre1.ebuild:
+ Fix linking with sys-libs/ncurses[tinfo], add epatch_user
01 Feb 2013; Jeroen Roovers <jer@gentoo.org> bmon-2.1.1_pre1.ebuild,
+files/bmon-2.1.1-verbose.patch:
diff --git a/net-analyzer/bmon/bmon-2.1.1_pre1.ebuild b/net-analyzer/bmon/bmon-2.1.1_pre1.ebuild
index de17b40bcba8..df23744d66b7 100644
--- a/net-analyzer/bmon/bmon-2.1.1_pre1.ebuild
+++ b/net-analyzer/bmon/bmon-2.1.1_pre1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bmon/bmon-2.1.1_pre1.ebuild,v 1.6 2013/02/01 15:34:52 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bmon/bmon-2.1.1_pre1.ebuild,v 1.7 2014/02/28 11:07:26 pinkbyte Exp $
EAPI=5
+
inherit eutils toolchain-funcs
MY_PV="${PV/_pre/-pre}"
@@ -38,6 +39,10 @@ src_prepare() {
epatch "${FILESDIR}"/${PN}-2.1.0-sysfs-symlink.patch
# verbose build
epatch "${FILESDIR}"/${PN}-2.1.1-verbose.patch
+ # fix linking with ncurses[tinfo]
+ sed -i "/LIBCURSES=\"-l\$LCURSES\"/s/-l\$LCURSES/$($(tc-getPKG_CONFIG) --libs ncurses)/" configure || die 'sed on configure failed'
+
+ epatch_user
}
src_configure() {