summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-08-20 11:07:07 +0000
committerMike Frysinger <vapier@gentoo.org>2006-08-20 11:07:07 +0000
commit92020b7d334f3f756d0ab80537c37fecea5aa41d (patch)
treede7c5610c4a7198e6ebeebea77aaaa9d7443cfa3 /net-analyzer/arping
parenttsunam referenced wrong bug number in x86 stable marking for 0.5.6. (diff)
downloadgentoo-2-92020b7d334f3f756d0ab80537c37fecea5aa41d.tar.gz
gentoo-2-92020b7d334f3f756d0ab80537c37fecea5aa41d.tar.bz2
gentoo-2-92020b7d334f3f756d0ab80537c37fecea5aa41d.zip
hppa/sh love and make sure CFLAGS/LDFLAGS are respected
(Portage version: 2.1.1_pre5-r2)
Diffstat (limited to 'net-analyzer/arping')
-rw-r--r--net-analyzer/arping/arping-2.05.ebuild17
-rw-r--r--net-analyzer/arping/files/digest-arping-2.052
2 files changed, 12 insertions, 7 deletions
diff --git a/net-analyzer/arping/arping-2.05.ebuild b/net-analyzer/arping/arping-2.05.ebuild
index 6fa30fcf266c..730b889a01ef 100644
--- a/net-analyzer/arping/arping-2.05.ebuild
+++ b/net-analyzer/arping/arping-2.05.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/arping/arping-2.05.ebuild,v 1.6 2006/02/15 21:51:15 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/arping/arping-2.05.ebuild,v 1.7 2006/08/20 11:07:07 vapier Exp $
inherit toolchain-funcs
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.habets.pp.se/pub/synscan/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="2"
-KEYWORDS="amd64 arm ppc sparc x86"
+KEYWORDS="amd64 arm hppa ppc sh sparc x86"
IUSE=""
DEPEND="net-libs/libpcap
@@ -18,15 +18,18 @@ DEPEND="net-libs/libpcap
src_unpack() {
unpack ${A}
- cd ${S}
- sed -i "s/CFLAGS=-g/CFLAGS=-g ${CFLAGS}/" Makefile || \
- die "sed Makefile failed"
+ cd "${S}"
+ rm -f Makefile
# since we install as arping2, use arping2 in the man page
sed -i "s/\(${PN}\)/\12/g" ${PN}.8 || die "sed ${PN}.8 failed"
}
src_compile() {
- make CC=$(tc-getCC) arping2 || die
+ emake \
+ CC=$(tc-getCC) \
+ LDLIBS="-lpcap -lnet" \
+ arping-2/arping \
+ || die
}
src_test() {
@@ -35,7 +38,7 @@ src_test() {
}
src_install() {
- newsbin arping arping2 || die
+ newsbin arping-2/arping arping2 || die
newman arping.8 arping2.8
dodoc README
}
diff --git a/net-analyzer/arping/files/digest-arping-2.05 b/net-analyzer/arping/files/digest-arping-2.05
index 236413763f73..e45903ee02f2 100644
--- a/net-analyzer/arping/files/digest-arping-2.05
+++ b/net-analyzer/arping/files/digest-arping-2.05
@@ -1 +1,3 @@
MD5 96e7c2ce8ae09046e264a314eeaac4dd arping-2.05.tar.gz 32287
+RMD160 de682f2dc4e2dc7a60dd584bbed0a7834b7e85fd arping-2.05.tar.gz 32287
+SHA256 552c1d34e49b540aa9044cbc376f041abe72c039c9d0006a1b16eb97a97d9996 arping-2.05.tar.gz 32287