summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2006-07-08 13:28:30 +0000
committerDaniel Black <dragonheart@gentoo.org>2006-07-08 13:28:30 +0000
commit5f74263792d46200cef9eda67a17ce5d35bfa07a (patch)
treee8b09363b23e052f9621c089b5730ac8706d923b /net-analyzer/nettop/nettop-0.2.3.ebuild
parentAdd beagle,libnotify and totem use flags for app-cdr/bonfire. (diff)
downloadgentoo-2-5f74263792d46200cef9eda67a17ce5d35bfa07a.tar.gz
gentoo-2-5f74263792d46200cef9eda67a17ce5d35bfa07a.tar.bz2
gentoo-2-5f74263792d46200cef9eda67a17ce5d35bfa07a.zip
gcc-4.1.1 fix thanks to Pylon
(Portage version: 2.1.1_pre2-r4)
Diffstat (limited to 'net-analyzer/nettop/nettop-0.2.3.ebuild')
-rw-r--r--net-analyzer/nettop/nettop-0.2.3.ebuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/net-analyzer/nettop/nettop-0.2.3.ebuild b/net-analyzer/nettop/nettop-0.2.3.ebuild
index d147a7628bb1..893896b6dd0c 100644
--- a/net-analyzer/nettop/nettop-0.2.3.ebuild
+++ b/net-analyzer/nettop/nettop-0.2.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nettop/nettop-0.2.3.ebuild,v 1.13 2006/02/15 23:30:09 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nettop/nettop-0.2.3.ebuild,v 1.14 2006/07/08 13:28:30 dragonheart Exp $
inherit eutils
@@ -17,9 +17,13 @@ KEYWORDS="amd64 ppc sparc x86"
DEPEND="sys-libs/slang
net-libs/libpcap"
-src_compile() {
- epatch ${FILESDIR}/nettop.c.patch
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/nettop.c.patch
+}
+src_compile() {
local myconf
myconf="--prefix=/usr"
./configure ${myconf} || die