View | Details | Raw Unified | Return to bug 92763
Collapse All | Expand All

(-)arpwatch/Makefile (+4 lines)
Lines 24-29 Link Here
24
24
25
USE_RC_SUBR=	arpwatch.sh
25
USE_RC_SUBR=	arpwatch.sh
26
26
27
.ifdef ARPDIR
28
MAKE_ARGS=	ARPDIR=${ARPDIR}
29
.endif
30
27
post-install:
31
post-install:
28
	if [ ! -d ${PREFIX}/arpwatch ]; then				\
32
	if [ ! -d ${PREFIX}/arpwatch ]; then				\
29
		${MKDIR} ${PREFIX}/arpwatch;				\
33
		${MKDIR} ${PREFIX}/arpwatch;				\
(-)arpwatch/files/patch-ab (-5 / +14 lines)
Lines 1-7 Link Here
1
--- Makefile.in.orig	Wed Jul 29 06:16:45 1998
1
--- Makefile.in.orig	Thu Jun 15 08:39:55 2000
2
+++ Makefile.in	Fri Aug 21 10:57:51 1998
2
+++ Makefile.in	Fri Feb  3 17:12:51 2006
3
@@ -44,7 +44,7 @@
3
@@ -31,7 +31,7 @@
4
 CC = @CC@
4
 # Pathname of directory to install the man page
5
 MANDEST = @mandir@
6
 # Pathname of directory to install database file
7
-ARPDIR = $(prefix)/arpwatch
8
+ARPDIR ?= $(prefix)/arpwatch
9
 
10
 # VPATH
11
 srcdir = @srcdir@
12
@@ -45,7 +45,7 @@
13
 PROG = arpwatch
5
 CCOPT = @V_CCOPT@
14
 CCOPT = @V_CCOPT@
6
 INCLS = -I. @V_INCLS@
15
 INCLS = -I. @V_INCLS@
7
-DEFS = -DDEBUG @DEFS@ -DARPDIR=\"$(ARPDIR)\" -DPATH_SENDMAIL=\"$(SENDMAIL)\"
16
-DEFS = -DDEBUG @DEFS@ -DARPDIR=\"$(ARPDIR)\" -DPATH_SENDMAIL=\"$(SENDMAIL)\"
Lines 9-15 Link Here
9
 
18
 
10
 # Standard CFLAGS
19
 # Standard CFLAGS
11
 CFLAGS = $(CCOPT) $(DEFS) $(INCLS)
20
 CFLAGS = $(CCOPT) $(DEFS) $(INCLS)
12
@@ -109,8 +109,8 @@
21
@@ -110,8 +110,8 @@
13
 	$(CC) $(CFLAGS) -o $@ zap.o intoa.o -lutil
22
 	$(CC) $(CFLAGS) -o $@ zap.o intoa.o -lutil
14
 
23
 
15
 install: force
24
 install: force

Return to bug 92763