aboutsummaryrefslogtreecommitdiffstats
path: root/net/libpcap/Makefile
blob: 6fece8671a97ee7f760e51f7d576d4a9b287a467 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Created by: Bruce M Simpson <bms@FreeBSD.org>
# $FreeBSD$

PORTNAME=   libpcap
PORTVERSION=    1.7.4
CATEGORIES= net ipv6
MASTER_SITES=   http://www.tcpdump.org/release/

MAINTAINER= garga@FreeBSD.org
COMMENT=    Ubiquitous network traffic capture library

LICENSE=    BSD3CLAUSE

GNU_CONFIGURE=  yes
USES=       bison gmake
USE_LDCONFIG=   yes
CONFIGURE_ARGS+=--enable-dbus=no \
        --with-pcap=bpf
PLIST_SUB+= PORTVERSION=${PORTVERSION}

OPTIONS_DEFINE= DAG IPV6

DAG_DESC=   Support for Endace DAG hardware

OPTIONS_DEFAULT=    IPV6

IPV6_CONFIGURE_ENABLE=  ipv6
DAG_CONFIGURE_WITH= dag
DAG_LDFLAGS=        -L${LOCALBASE}/lib

.include <bsd.port.pre.mk>

.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
CFLAGS+=    -fPIC
.endif

.include <bsd.port.post.mk>