summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Noberasco <s4t4n@gentoo.org>2010-03-11 14:07:28 +0000
committerMichele Noberasco <s4t4n@gentoo.org>2010-03-11 14:07:28 +0000
commitc4c3e4fb25654e18513fa2a096fbb16c00714438 (patch)
treec71bdff4467611746a43e70ef01a92c430a499bc /net-analyzer
parentFixed compilation on ppc/ppc64 and added keywords. (diff)
downloadgentoo-2-c4c3e4fb25654e18513fa2a096fbb16c00714438.tar.gz
gentoo-2-c4c3e4fb25654e18513fa2a096fbb16c00714438.tar.bz2
gentoo-2-c4c3e4fb25654e18513fa2a096fbb16c00714438.zip
Made package honour user LDFLAGS, see bug #290840.
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/ethstatus/ChangeLog5
-rw-r--r--net-analyzer/ethstatus/ethstatus-0.4.2-r2.ebuild11
2 files changed, 11 insertions, 5 deletions
diff --git a/net-analyzer/ethstatus/ChangeLog b/net-analyzer/ethstatus/ChangeLog
index d64e7831258b..89d5ab95c745 100644
--- a/net-analyzer/ethstatus/ChangeLog
+++ b/net-analyzer/ethstatus/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/ethstatus
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ethstatus/ChangeLog,v 1.8 2008/11/24 09:55:13 s4t4n Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ethstatus/ChangeLog,v 1.9 2010/03/11 14:07:28 s4t4n Exp $
+
+ 11 Mar 2010; Michele Noberasco <s4t4n@gentoo.org> ChangeLog:
+ Made package honour user LDFLAGS, see bug #290840.
24 Nov 2008; Michele Noberasco <s4t4n@gentoo.org> ChangeLog:
Fixed LDFLAGS ordering, see bug #247926.
diff --git a/net-analyzer/ethstatus/ethstatus-0.4.2-r2.ebuild b/net-analyzer/ethstatus/ethstatus-0.4.2-r2.ebuild
index 357cffb81fc7..3dd5ae641413 100644
--- a/net-analyzer/ethstatus/ethstatus-0.4.2-r2.ebuild
+++ b/net-analyzer/ethstatus/ethstatus-0.4.2-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ethstatus/ethstatus-0.4.2-r2.ebuild,v 1.7 2008/11/24 15:57:54 s4t4n Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ethstatus/ethstatus-0.4.2-r2.ebuild,v 1.8 2010/03/11 14:07:28 s4t4n Exp $
DESCRIPTION="ncurses based utility to display real time statistics about network traffic."
HOMEPAGE="http://ethstatus.calle69.net/"
@@ -20,8 +20,11 @@ src_unpack()
{
unpack ${A}
- #Fix LDFLAGS ordering, see bug #247926
- sed -i 's/$(LDFLAGS) -o ${BIN} ${SRC}/-o ${BIN} ${SRC} $(LDFLAGS)/' "${S}/Makefile"
+ #Make it honour user LDFLAGS, see bug #290840 (part 1)
+ sed -i 's/LDFLAGS = -lncurses//' "${S}/Makefile"
+
+ #Fix LDFLAGS ordering, see bug #247926, #290840 (part 2)
+ sed -i 's/$(LDFLAGS) -o ${BIN} ${SRC}/-o ${BIN} ${SRC} $(LDFLAGS) -lncurses/' "${S}/Makefile"
}
src_compile()