diff options
author | krion <krion@FreeBSD.org> | 2004-04-15 05:30:24 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-04-15 05:30:24 +0800 |
commit | f22b4d7a07bf1d18e1bf60b193987b2f9c58904a (patch) | |
tree | 4d2d50e45b31136565a5b02e09a229df4ee0b064 /net-mgmt/arpwatch-devel | |
parent | 6c7e11916768a3d9fb1fbca38a8781aacdc2d51f (diff) | |
download | freebsd-ports-gnome-f22b4d7a07bf1d18e1bf60b193987b2f9c58904a.tar.gz freebsd-ports-gnome-f22b4d7a07bf1d18e1bf60b193987b2f9c58904a.tar.zst freebsd-ports-gnome-f22b4d7a07bf1d18e1bf60b193987b2f9c58904a.zip |
- Respect PTHREAD_CFLAGS[LIBS]
- Correct pkg-descr
PR: ports/65549
Submitted by: maintainer
Diffstat (limited to 'net-mgmt/arpwatch-devel')
-rw-r--r-- | net-mgmt/arpwatch-devel/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/arpwatch-devel/files/patch-aa | 21 | ||||
-rw-r--r-- | net-mgmt/arpwatch-devel/pkg-descr | 2 |
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> |