diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2006-04-01 22:51:08 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2006-04-01 22:51:08 +0000 |
commit | f76c8711928ec146b721864cef0be1805bc7ff54 (patch) | |
tree | e79ed5eb457da7a1d5f64a1d0ead8f508f138cf6 /net-mgmt/arpwatch | |
parent | 5d127513f7d37d3cfc2aa7c3e67c8a3b5416346f (diff) | |
download | ports-f76c8711928ec146b721864cef0be1805bc7ff54.tar.gz ports-f76c8711928ec146b721864cef0be1805bc7ff54.zip |
Notes
Diffstat (limited to 'net-mgmt/arpwatch')
-rw-r--r-- | net-mgmt/arpwatch/Makefile | 4 | ||||
-rw-r--r-- | net-mgmt/arpwatch/files/patch-ab | 19 |
2 files changed, 18 insertions, 5 deletions
diff --git a/net-mgmt/arpwatch/Makefile b/net-mgmt/arpwatch/Makefile index 6af570b3fa77..29466e93de93 100644 --- a/net-mgmt/arpwatch/Makefile +++ b/net-mgmt/arpwatch/Makefile @@ -24,6 +24,10 @@ MAN8= arpwatch.8 arpsnmp.8 USE_RC_SUBR= arpwatch.sh +.ifdef ARPDIR +MAKE_ARGS= ARPDIR=${ARPDIR} +.endif + post-install: if [ ! -d ${PREFIX}/arpwatch ]; then \ ${MKDIR} ${PREFIX}/arpwatch; \ diff --git a/net-mgmt/arpwatch/files/patch-ab b/net-mgmt/arpwatch/files/patch-ab index 76cbc814dfaf..4928d0c9586f 100644 --- a/net-mgmt/arpwatch/files/patch-ab +++ b/net-mgmt/arpwatch/files/patch-ab @@ -1,7 +1,16 @@ ---- Makefile.in.orig Wed Jul 29 06:16:45 1998 -+++ Makefile.in Fri Aug 21 10:57:51 1998 -@@ -44,7 +44,7 @@ - CC = @CC@ +--- Makefile.in.orig Thu Jun 15 08:39:55 2000 ++++ Makefile.in Fri Feb 3 17:12:51 2006 +@@ -31,7 +31,7 @@ + # Pathname of directory to install the man page + MANDEST = @mandir@ + # Pathname of directory to install database file +-ARPDIR = $(prefix)/arpwatch ++ARPDIR ?= $(prefix)/arpwatch + + # VPATH + srcdir = @srcdir@ +@@ -45,7 +45,7 @@ + PROG = arpwatch CCOPT = @V_CCOPT@ INCLS = -I. @V_INCLS@ -DEFS = -DDEBUG @DEFS@ -DARPDIR=\"$(ARPDIR)\" -DPATH_SENDMAIL=\"$(SENDMAIL)\" @@ -9,7 +18,7 @@ # Standard CFLAGS CFLAGS = $(CCOPT) $(DEFS) $(INCLS) -@@ -109,8 +109,8 @@ +@@ -110,8 +110,8 @@ $(CC) $(CFLAGS) -o $@ zap.o intoa.o -lutil install: force |