diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/driftnet/Makefile | 3 | ||||
-rw-r--r-- | net/driftnet/distinfo | 4 | ||||
-rw-r--r-- | net/driftnet/patches/patch-aa | 19 |
3 files changed, 18 insertions, 8 deletions
diff --git a/net/driftnet/Makefile b/net/driftnet/Makefile index 952aa3c00a1..6b49e933071 100644 --- a/net/driftnet/Makefile +++ b/net/driftnet/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2006/03/04 21:30:18 jlam Exp $ +# $NetBSD: Makefile,v 1.19 2006/03/22 15:17:01 joerg Exp $ # DISTNAME= driftnet-0.1.6 @@ -25,5 +25,6 @@ do-install: .include "../../graphics/libungif/buildlink3.mk" .include "../../x11/gtk/buildlink3.mk" .include "../../graphics/jpeg/buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/net/driftnet/distinfo b/net/driftnet/distinfo index b69dc9e9e94..338dc7fa897 100644 --- a/net/driftnet/distinfo +++ b/net/driftnet/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.4 2005/02/24 12:13:45 agc Exp $ +$NetBSD: distinfo,v 1.5 2006/03/22 15:17:01 joerg Exp $ SHA1 (driftnet-0.1.6.tar.gz) = 279cb3a596f354e7e9c6ac3cc456b3d11dced2ff RMD160 (driftnet-0.1.6.tar.gz) = 01057f3cb992faa537a8b188e116c6f21016cfac Size (driftnet-0.1.6.tar.gz) = 36989 bytes -SHA1 (patch-aa) = 6ced6f1653b5bed9ba8e8826058e118f10f6b67e +SHA1 (patch-aa) = 42a48fb35b005b961483c40cbd8991ba0ed0dbe7 SHA1 (patch-ab) = 5b6bc10901295c58d5607deab9bd25effbbbf950 diff --git a/net/driftnet/patches/patch-aa b/net/driftnet/patches/patch-aa index 4736b1ef9a3..33d86439379 100644 --- a/net/driftnet/patches/patch-aa +++ b/net/driftnet/patches/patch-aa @@ -1,8 +1,17 @@ -$NetBSD: patch-aa,v 1.2 2003/05/04 22:21:05 salo Exp $ +$NetBSD: patch-aa,v 1.3 2006/03/22 15:17:01 joerg Exp $ ---- Makefile.orig 2002-07-09 21:26:41.000000000 +0200 -+++ Makefile 2003-05-04 23:52:15.000000000 +0200 -@@ -53,6 +53,7 @@ +--- Makefile.orig 2002-07-09 19:26:41.000000000 +0000 ++++ Makefile +@@ -27,7 +27,7 @@ CFLAGS += -I/usr/include/pcap + CFLAGS += -D_BSD_SOURCE + + # We always need the pcap and pthread libraries. +-LDLIBS += -lpcap -lpthread ++LDLIBS += -lpcap ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} + + # Optional C compiler and linker flags. Typical driftnet builds have support + # for displaying captured images in an X window, and need the following flags: +@@ -53,6 +53,7 @@ LDLIBS += -ljpeg -lungif `gtk-config -- # On BSD systems, may need to use /usr/local/include #CFLAGS += -I/usr/local/include @@ -10,7 +19,7 @@ $NetBSD: patch-aa,v 1.2 2003/05/04 22:21:05 salo Exp $ # # No user-serviceable parts below this point. -@@ -87,7 +88,7 @@ +@@ -87,7 +88,7 @@ endian: endian.c $(CC) $(CFLAGS) -o endian endian.c %.o: %.c Makefile endianness |