From 311c97add12ee2ee94dab4acbb9dc5062040d772 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Tue, 8 Apr 2003 12:09:49 +0000 Subject: Update port: net/arping - Update to latest release. (bug fix) - Remove unnesscessary patch files - Maintainer CC'ed PR: ports/50718 Submitted by: "Michael L.Hostbaek" Approved by: talked to the maintainer earlier today about it (see ports/50322) --- net/arping/Makefile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'net/arping/Makefile') diff --git a/net/arping/Makefile b/net/arping/Makefile index 2ecc8fa80721..6b8115a85e76 100644 --- a/net/arping/Makefile +++ b/net/arping/Makefile @@ -6,7 +6,7 @@ # PORTNAME= arping -PORTVERSION= 1.06 +PORTVERSION= 1.07 CATEGORIES= net MASTER_SITES= ftp://ftp.habets.pp.se/pub/synscan/ \ ftp://ftp.cerias.purdue.edu/pub/tools/unix/netutils/arping/ @@ -16,9 +16,19 @@ COMMENT= ARP level "ping" utility BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet -ALL_TARGET= freebsd +LDFLAGS+= -lpcap + MAN8= arping.8 +do-build: + cd ${WRKSRC} && \ + ${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib \ + -DUSE_NETIF=1 -DFREEBSD=1 -c `libnet-config --defines` \ + `libnet-config --cflags` ${PORTNAME}.c && \ + ${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib \ + -DUSE_NETIF=1 -DFREEBSD=1 -o ${PORTNAME} ${PORTNAME}.o \ + `libnet-config --libs` ${LDFLAGS} + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/arping ${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/arping.8 ${PREFIX}/man/man8 -- cgit v1.2.3