summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHasan Khalil <gongloo@gentoo.org>2004-07-23 18:59:42 +0000
committerHasan Khalil <gongloo@gentoo.org>2004-07-23 18:59:42 +0000
commitf8312de1b21f0d0a410b955b226d686dceaf5e3d (patch)
tree68792656a33de75129492383af8010c231d8cca6 /net-analyzer/netperf/netperf-2.2.4.ebuild
parentVersion bumped. Closes 58009 (Manifest recommit) (diff)
downloadgentoo-2-f8312de1b21f0d0a410b955b226d686dceaf5e3d.tar.gz
gentoo-2-f8312de1b21f0d0a410b955b226d686dceaf5e3d.tar.bz2
gentoo-2-f8312de1b21f0d0a410b955b226d686dceaf5e3d.zip
Stable on macos.
Diffstat (limited to 'net-analyzer/netperf/netperf-2.2.4.ebuild')
-rw-r--r--net-analyzer/netperf/netperf-2.2.4.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/net-analyzer/netperf/netperf-2.2.4.ebuild b/net-analyzer/netperf/netperf-2.2.4.ebuild
index 6bf12ff470ae..b30e00264b55 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 Foundation
# 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.8 2004/07/16 02:07:02 tgall Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netperf/netperf-2.2.4.ebuild,v 1.9 2004/07/23 18:59:42 gongloo Exp $
inherit flag-o-matic
@@ -16,16 +16,16 @@ SRC_URI="ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/${MY_P}.tar.gz"
HOMEPAGE="http://www.netperf.org/"
LICENSE="netperf"
SLOT="0"
-KEYWORDS="x86 sparc ia64 alpha amd64 ppc64"
+KEYWORDS="x86 sparc ia64 alpha amd64 ppc64 macos"
IUSE="ipv6"
-RDEPEND="virtual/libc"
+RDEPEND="virtual/libc >=sys-apps/sed-4"
DEPEND="${RDEPEND}
>=sys-apps/sed-4"
src_compile() {
- append-flags -DDO_UNIX
+ [ `use macos` ] || append-flags -DDO_UNIX
use ipv6 && append-flags -DDO_IPV6
emake CFLAGS="${CFLAGS}" || die
sed -i 's:^\(NETHOME=\).*:\1/usr/bin:' *_script