aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-04-14 21:30:24 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-04-14 21:30:24 +0000
commite2f45169cce53f0a111710b0dc2e047d03947aa6 (patch)
treeafadadf7957f15a24b7dfc27936fb0744fa718cb /net-mgmt
parent80df8d5a985aa8c92c067dd95ff53fbee6162739 (diff)
downloadports-e2f45169cce53f0a111710b0dc2e047d03947aa6.tar.gz
ports-e2f45169cce53f0a111710b0dc2e047d03947aa6.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/arpwatch-devel/Makefile2
-rw-r--r--net-mgmt/arpwatch-devel/files/patch-aa21
-rw-r--r--net-mgmt/arpwatch-devel/pkg-descr2
3 files changed, 19 insertions, 6 deletions
diff --git a/net-mgmt/arpwatch-devel/Makefile b/net-mgmt/arpwatch-devel/Makefile
index b5b4c0e82441..4b00866d8d80 100644
--- a/net-mgmt/arpwatch-devel/Makefile
+++ b/net-mgmt/arpwatch-devel/Makefile
@@ -25,6 +25,8 @@ CONFIGURE_ARGS= --quiet
INSTALL_TARGET= install install-man
MAN8= arpwatch.8 arpsnmp.8
+MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" PTHREAD_LIBS="${PTHREAD_LIBS}"
+
post-install:
if [ ! -d ${PREFIX}/arpwatch ]; then \
${MKDIR} ${PREFIX}/arpwatch; \
diff --git a/net-mgmt/arpwatch-devel/files/patch-aa b/net-mgmt/arpwatch-devel/files/patch-aa
index cc73ec717921..b843cb472791 100644
--- a/net-mgmt/arpwatch-devel/files/patch-aa
+++ b/net-mgmt/arpwatch-devel/files/patch-aa
@@ -1,14 +1,25 @@
---- ../arpwatch.orig/Makefile.in Wed Jun 14 20:39:55 2000
-+++ ./Makefile.in Mon Sep 15 14:31:33 2003
-@@ -45,7 +45,7 @@
+--- Makefile.in.orig Wed Jun 14 20:39:55 2000
++++ Makefile.in Wed Apr 14 15:16:06 2004
+@@ -45,15 +45,15 @@
PROG = arpwatch
CCOPT = @V_CCOPT@
INCLS = -I. @V_INCLS@
-DEFS = -DDEBUG @DEFS@ -DARPDIR=\"$(ARPDIR)\" -DPATH_SENDMAIL=\"$(SENDMAIL)\"
-+DEFS = @DEFS@ -pthread -DARPDIR=\"$(ARPDIR)\" -DPATH_SENDMAIL=\"$(SENDMAIL)\"
++DEFS = @DEFS@ -DARPDIR=\"$(ARPDIR)\" -DPATH_SENDMAIL=\"$(SENDMAIL)\"
# Standard CFLAGS
- CFLAGS = $(CCOPT) $(DEFS) $(INCLS)
+-CFLAGS = $(CCOPT) $(DEFS) $(INCLS)
++CFLAGS = $(CCOPT) $(PTHREAD_CFLAGS) $(DEFS) $(INCLS)
+
+ # Standard LIBS
+-LIBS = @LIBS@
++LIBS = @LIBS@ $(PTHREAD_LIBS)
+ # Standard LIBS without libpcap.a
+-SLIBS = @LBL_LIBS@
++SLIBS = @LBL_LIBS@ $(PTHREAD_LIBS)
+
+ INSTALL = @INSTALL@
+ SENDMAIL = @V_SENDMAIL@
@@ -110,8 +110,8 @@
$(CC) $(CFLAGS) -o $@ zap.o intoa.o -lutil
diff --git a/net-mgmt/arpwatch-devel/pkg-descr b/net-mgmt/arpwatch-devel/pkg-descr
index 6c9ac86fed45..29275456b344 100644
--- a/net-mgmt/arpwatch-devel/pkg-descr
+++ b/net-mgmt/arpwatch-devel/pkg-descr
@@ -5,6 +5,6 @@ maintained by the program, and an alert is issued should a device
move between interfaces. In addition, event processing has been
refactored, and some bugs have been fixed.
-see net/arpwatch/pkg-descr for more information about arpwatch 2.x
+see net-mgmt/arpwatch/pkg-descr for more information about arpwatch 2.x
Matthew George <mdg@secureworks.net>