summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEldad Zack <eldad@gentoo.org>2004-10-15 10:01:30 +0000
committerEldad Zack <eldad@gentoo.org>2004-10-15 10:01:30 +0000
commit17c636e5f598cf5741069225b48f49dbb9d2af18 (patch)
tree95c922650ccb52a87a3e4272c983e9ab2cdbc9bb /net-analyzer/p0f/p0f-2.0.3.ebuild
parentInitial ebuild provided by Michael Owen <mowen@costco.com> in bug #65542. (Ma... (diff)
downloadgentoo-2-17c636e5f598cf5741069225b48f49dbb9d2af18.tar.gz
gentoo-2-17c636e5f598cf5741069225b48f49dbb9d2af18.tar.bz2
gentoo-2-17c636e5f598cf5741069225b48f49dbb9d2af18.zip
Removed uncalled for #include <net/bpf.h>
Diffstat (limited to 'net-analyzer/p0f/p0f-2.0.3.ebuild')
-rw-r--r--net-analyzer/p0f/p0f-2.0.3.ebuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/net-analyzer/p0f/p0f-2.0.3.ebuild b/net-analyzer/p0f/p0f-2.0.3.ebuild
index c7101c47be3d..f6b68b481904 100644
--- a/net-analyzer/p0f/p0f-2.0.3.ebuild
+++ b/net-analyzer/p0f/p0f-2.0.3.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/p0f/p0f-2.0.3.ebuild,v 1.8 2004/09/16 02:11:18 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/p0f/p0f-2.0.3.ebuild,v 1.9 2004/10/15 10:01:30 eldad Exp $
inherit eutils
@@ -17,13 +17,9 @@ S=${WORKDIR}/${PN}
DEPEND="net-libs/libpcap"
-src_unpack() {
- unpack ${A} ; cd ${S}
-
- epatch ${FILESDIR}/${P}-libpcap-include.patch
-}
-
src_compile() {
+ sed -e 's;#include <net/bpf.h>;;' -i p0f.c
+
make || die
}