changes to make work on netbsd
This commit is contained in:
parent
9fe38a91ae
commit
742ac3df44
6 changed files with 24 additions and 25 deletions
|
@ -1,20 +1,21 @@
|
|||
# $NetBSD: Makefile,v 1.2 1999/09/12 18:54:27 dbj Exp $
|
||||
# New ports collection makefile for: choparp
|
||||
# Version required: 971007
|
||||
# Date created: 7 October 1997
|
||||
# Whom: itojun@itojun.org
|
||||
#
|
||||
# $FreeBSD: ports/net/choparp/Makefile,v 1.3 1999/08/30 14:22:16 peter Exp $
|
||||
# FreeBSD: ports/net/choparp/Makefile,v 1.3 1999/08/30 14:22:16 peter Exp
|
||||
#
|
||||
|
||||
DISTNAME= choparp-971007
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://delegate.uec.ac.jp:8081/club/mma/~tree/soft/choparp/
|
||||
|
||||
MAINTAINER= itojun@itojun.org
|
||||
MAINTAINER= dbj@netbsd.org
|
||||
HOMEPAGE= http://delegate.uec.ac.jp:8081/club/mma/~tree/soft/\#CHOPARP
|
||||
|
||||
MAN8= choparp.8
|
||||
MANCOMPRESSED= maybe
|
||||
MANCOMPRESSED_IF_MANZ= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/choparp
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
$NetBSD: md5,v 1.2 1999/09/12 18:54:27 dbj Exp $
|
||||
|
||||
MD5 (choparp-971007.tar.gz) = dae13260334a96a388357c34d313946c
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
$NetBSD: patch-aa,v 1.2 1999/09/12 18:54:27 dbj Exp $
|
||||
|
||||
--- /dev/null Wed Oct 8 06:50:58 1997
|
||||
+++ choparp.8 Tue Oct 7 23:34:42 1997
|
||||
@@ -0,0 +1,77 @@
|
||||
|
|
|
@ -1,11 +1,14 @@
|
|||
--- /dev/null Tue Oct 7 23:33:35 1997
|
||||
+++ Makefile Tue Oct 7 23:42:51 1997
|
||||
@@ -0,0 +1,8 @@
|
||||
+PROG= choparp
|
||||
+MAN8= choparp.8
|
||||
$NetBSD: patch-ab,v 1.2 1999/09/12 18:54:27 dbj Exp $
|
||||
|
||||
--- /dev/null Sun Sep 12 12:02:39 1999
|
||||
+++ Makefile Sun Sep 12 14:14:00 1999
|
||||
@@ -0,0 +1,9 @@
|
||||
+# $NetBSD: patch-ab,v 1.2 1999/09/12 18:54:27 dbj Exp $
|
||||
+
|
||||
+DESTDIR=${PREFIX}
|
||||
+BINDIR= /sbin
|
||||
+MANDIR= /man/man
|
||||
+PROG= choparp
|
||||
+MAN= choparp.8
|
||||
+
|
||||
+BINDIR= ${PREFIX}/sbin
|
||||
+MANDIR= ${PREFIX}/man
|
||||
+
|
||||
+.include <bsd.prog.mk>
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
--- choparp.c.orig Sat Nov 29 15:38:49 1997
|
||||
+++ choparp.c Sat Nov 29 15:45:52 1997
|
||||
@@ -21,6 +21,9 @@
|
||||
#include <net/if.h>
|
||||
#include <netinet/in.h>
|
||||
/* #include <net/if_arp.h> */
|
||||
+#if (__FreeBSD__ >= 3)
|
||||
+ #include <net/if_var.h>
|
||||
+#endif
|
||||
#include <netinet/if_ether.h>
|
||||
#include <sys/param.h>
|
||||
#include <errno.h>
|
|
@ -1 +1,4 @@
|
|||
@comment $NetBSD: PLIST,v 1.2 1999/09/12 18:54:28 dbj Exp $
|
||||
sbin/choparp
|
||||
man/man8/choparp.8
|
||||
man/cat8/choparp.0
|
||||
|
|
Loading…
Reference in a new issue