summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2004-02-04 17:37:40 +0000
committerAron Griffis <agriffis@gentoo.org>2004-02-04 17:37:40 +0000
commit640b784d7c0e42532f793c666fd0ee584e72a917 (patch)
tree03f0fea13d916d71414bad3f9cf2afdd12f2d49e /net-analyzer/netperf/netperf-2.2.4.ebuild
parentaddwrite /dev/ptym/clone:/dev/ptmx for bug 40152, thanks to Sven Wegener (Man... (diff)
downloadgentoo-2-640b784d7c0e42532f793c666fd0ee584e72a917.tar.gz
gentoo-2-640b784d7c0e42532f793c666fd0ee584e72a917.tar.bz2
gentoo-2-640b784d7c0e42532f793c666fd0ee584e72a917.zip
Fix NETHOME in the example scripts to point to /usr/bin
Diffstat (limited to 'net-analyzer/netperf/netperf-2.2.4.ebuild')
-rw-r--r--net-analyzer/netperf/netperf-2.2.4.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/net-analyzer/netperf/netperf-2.2.4.ebuild b/net-analyzer/netperf/netperf-2.2.4.ebuild
index c4b49eab7247..e70f4cfc3f9f 100644
--- a/net-analyzer/netperf/netperf-2.2.4.ebuild
+++ b/net-analyzer/netperf/netperf-2.2.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netperf/netperf-2.2.4.ebuild,v 1.1 2004/01/29 01:37:13 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netperf/netperf-2.2.4.ebuild,v 1.2 2004/02/04 17:37:40 agriffis Exp $
inherit flag-o-matic
@@ -20,12 +20,14 @@ KEYWORDS="~x86 ~sparc ~ia64 ~alpha"
IUSE="ipv6"
-DEPEND="virtual/glibc"
+RDEPEND="virtual/glibc"
+DEPEND="${RDEPEND} >=sys-apps/sed-4"
src_compile() {
append-flags -DDO_UNIX
use ipv6 && append-flags -DDO_IPV6
emake CFLAGS="${CFLAGS}" || die
+ sed -i 's:^\(NETHOME=\).*:\1/usr/bin:' *_script
}
src_install () {