diff options
author | tron <tron@pkgsrc.org> | 2007-10-14 22:49:43 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2007-10-14 22:49:43 +0000 |
commit | d73cd46a60a95b6f40ac45b086ed1349b7b5d334 (patch) | |
tree | 08073b50def2a02f40d37ef8b31df12218861780 /net/libpcap/Makefile | |
parent | 12854537d6cc9f0a2d20487c0032b59872c46f13 (diff) | |
download | pkgsrc-d73cd46a60a95b6f40ac45b086ed1349b7b5d334.tar.gz |
Make the work around which deals with the missing include file
"/usr/include/net/if_pflog.h" a hack. The good news is that NetBSD 4.0
will ship with this include file which fixes the real problem.
Diffstat (limited to 'net/libpcap/Makefile')
-rw-r--r-- | net/libpcap/Makefile | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/net/libpcap/Makefile b/net/libpcap/Makefile index 608b8a8bd36..6e1aa00acf1 100644 --- a/net/libpcap/Makefile +++ b/net/libpcap/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.40 2007/10/13 22:14:15 tron Exp $ +# $NetBSD: Makefile,v 1.41 2007/10/14 22:49:43 tron Exp $ DISTNAME= libpcap-0.9.8 SVR4_PKGNAME= lpcap @@ -23,14 +23,6 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS+= --enable-ipv6 .endif -.if exists(/usr/include/net/pfvar.h) && !exists(/usr/include/net/if_pflog.h) -SUBST_CLASSES+= pflog -SUBST_MESSAGE.pflog= Disabling pflog(4) support because "net/if_pflog.h" is missing. -SUBST_STAGE.pflog= post-configure -SUBST_FILES.pflog= config.h -SUBST_SED.pflog= -e 's/^\#define.*HAVE_NET_PFVAR_H.*//' -.endif - post-install: ${INSTALL_DATA} ${WRKSRC}/pcap-int.h ${PREFIX}/include |