summaryrefslogtreecommitdiff
path: root/net/arpwatch/patches/patch-ab
blob: 7d48669464d4ff2ea012b0a0764b12173eddb7da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$NetBSD: patch-ab,v 1.2 1998/08/07 11:10:36 agc Exp $

--- Makefile.in.orig	Mon Apr 27 18:13:13 1998
+++ Makefile.in	Mon Apr 27 19:40:23 1998
@@ -30,8 +30,10 @@
 BINDEST = @sbindir@
 # Pathname of directory to install the man page
 MANDEST = @mandir@
+# Pathname of directory to install ethernet vendor codes
+ETCDEST = $(prefix)/etc
 # Pathname of directory to install database file
-ARPDIR = $(prefix)/arpwatch
+ARPDIR = /var/db/arpwatch
 
 # VPATH
 srcdir = @srcdir@
@@ -44,7 +46,8 @@
 CC = @CC@
 CCOPT = @V_CCOPT@
 INCLS = -I. @V_INCLS@
-DEFS = -DDEBUG @DEFS@ -DARPDIR=\"$(ARPDIR)\"
+DEFS = -DDEBUG @DEFS@ -DARPDIR=\"$(ARPDIR)\" \
+    -DETHERCODES=\"$(ETCDEST)/ethercodes.dat\"
 
 # Standard CFLAGS
 CFLAGS = $(CCOPT) $(DEFS) $(INCLS)