summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2011-11-14 19:38:30 +0000
committerJeroen Roovers <jer@gentoo.org>2011-11-14 19:38:30 +0000
commit44cabedd25819cd8c3d18b4a179af117dc664328 (patch)
tree7fc617ef219ca37aa2871e194a7568f6a2c5f44f
parentx86 stable, bug 390075 (diff)
downloadgentoo-2-44cabedd25819cd8c3d18b4a179af117dc664328.tar.gz
gentoo-2-44cabedd25819cd8c3d18b4a179af117dc664328.tar.bz2
gentoo-2-44cabedd25819cd8c3d18b4a179af117dc664328.zip
Install binary in /usr/sbin by Samuli Suominen (bug #390385).
(Portage version: 2.2.0_alpha74/cvs/Linux x86_64)
-rw-r--r--net-analyzer/nethogs/ChangeLog8
-rw-r--r--net-analyzer/nethogs/nethogs-0.8.0-r2.ebuild (renamed from net-analyzer/nethogs/nethogs-0.8.0-r1.ebuild)3
2 files changed, 9 insertions, 2 deletions
diff --git a/net-analyzer/nethogs/ChangeLog b/net-analyzer/nethogs/ChangeLog
index 9170cb564144..99f144b40505 100644
--- a/net-analyzer/nethogs/ChangeLog
+++ b/net-analyzer/nethogs/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/nethogs
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nethogs/ChangeLog,v 1.17 2011/11/14 12:00:14 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nethogs/ChangeLog,v 1.18 2011/11/14 19:38:30 jer Exp $
+
+*nethogs-0.8.0-r2 (14 Nov 2011)
+
+ 14 Nov 2011; Jeroen Roovers <jer@gentoo.org> -nethogs-0.8.0-r1.ebuild,
+ +nethogs-0.8.0-r2.ebuild:
+ Install binary in /usr/sbin by Samuli Suominen (bug #390385).
*nethogs-0.8.0-r1 (14 Nov 2011)
diff --git a/net-analyzer/nethogs/nethogs-0.8.0-r1.ebuild b/net-analyzer/nethogs/nethogs-0.8.0-r2.ebuild
index 6ad663e6043b..c0d0dda132e3 100644
--- a/net-analyzer/nethogs/nethogs-0.8.0-r1.ebuild
+++ b/net-analyzer/nethogs/nethogs-0.8.0-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nethogs/nethogs-0.8.0-r1.ebuild,v 1.1 2011/11/14 12:00:14 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nethogs/nethogs-0.8.0-r2.ebuild,v 1.1 2011/11/14 19:38:30 jer Exp $
EAPI="4"
@@ -26,6 +26,7 @@ src_prepare() {
sed -i Makefile \
-e '/^CFLAGS=/{s|=|+=|;s|-g||};/ -o /s|$(CFLAGS)|& $(LDFLAGS)|g' \
-e 's|share/man/|usr/&|g' \
+ -e 's|/sbin|/usr&|g' \
|| die
tc-export CC CXX
}