summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdump
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2013-12-15 23:05:19 +0000
committerpjd <pjd@FreeBSD.org>2013-12-15 23:05:19 +0000
commit98a8a992a311129c6ef0317aa4a05960803cdde3 (patch)
tree02998fe5df4e1f277a1ef9c7678dff98e8dd8fb7 /usr.sbin/tcpdump
parent457e0637b9cdfb9176bb3a368f5465c2fbe03f8f (diff)
downloadFreeBSD-src-98a8a992a311129c6ef0317aa4a05960803cdde3.zip
FreeBSD-src-98a8a992a311129c6ef0317aa4a05960803cdde3.tar.gz
Add Casper support.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'usr.sbin/tcpdump')
-rw-r--r--usr.sbin/tcpdump/tcpdump/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.sbin/tcpdump/tcpdump/Makefile b/usr.sbin/tcpdump/tcpdump/Makefile
index 3ec7efd..ac7636ac 100644
--- a/usr.sbin/tcpdump/tcpdump/Makefile
+++ b/usr.sbin/tcpdump/tcpdump/Makefile
@@ -162,6 +162,11 @@ CFLAGS+= -DLBL_ALIGN
DPADD= ${LIBL} ${LIBPCAP}
LDADD= -ll -lpcap
+.if ${MK_CASPER} != "no"
+DPADD+= ${LIBCAPSICUM} ${LIBNV}
+LDADD+= -lcapsicum -lnv
+CFLAGS+=-DHAVE_LIBCAPSICUM
+.endif
.if ${MK_OPENSSL} != "no" && !defined(RELEASE_CRUNCH)
DPADD+= ${LIBCRYPTO}
LDADD+= -lcrypto
OpenPOWER on IntegriCloud