summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Góes <vanquirius@gentoo.org>2005-04-17 19:55:29 +0000
committerMarcelo Góes <vanquirius@gentoo.org>2005-04-17 19:55:29 +0000
commit859203fa9047682264f78b2e0fd9f146446363f0 (patch)
treeaff2e9bbcb1e9d4111f8b32f6847b42263c38a60 /net-analyzer/packit/packit-1.0.ebuild
parentadded ~amd64 to KEYWORDS, fixes #89370 (diff)
downloadhistorical-859203fa9047682264f78b2e0fd9f146446363f0.tar.gz
historical-859203fa9047682264f78b2e0fd9f146446363f0.tar.bz2
historical-859203fa9047682264f78b2e0fd9f146446363f0.zip
fix header problem
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'net-analyzer/packit/packit-1.0.ebuild')
-rw-r--r--net-analyzer/packit/packit-1.0.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/net-analyzer/packit/packit-1.0.ebuild b/net-analyzer/packit/packit-1.0.ebuild
index ff36f3ec5e10..d6b094dce8f4 100644
--- a/net-analyzer/packit/packit-1.0.ebuild
+++ b/net-analyzer/packit/packit-1.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/packit/packit-1.0.ebuild,v 1.7 2005/01/29 01:09:20 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/packit/packit-1.0.ebuild,v 1.8 2005/04/17 19:55:29 vanquirius Exp $
inherit eutils
@@ -15,7 +15,12 @@ IUSE=""
DEPEND=">=net-libs/libnet-1.1.2*"
+src_unpack(){
+ unpack ${A}
+ sed -i 's:net/bpf.h:pcap-bpf.h:g' ${S}/src/{globals.h,main.h} || die
+}
+
src_install() {
- make install DESTDIR=${D} || die
+ emake install DESTDIR=${D} || die
dodoc INSTALL LICENSE VERSION docs/*
}