Make crypto part of tcpdump (print-esp.c) work.
Approved by: jkh
This commit is contained in:
parent
e2bfa2c906
commit
51a3acc34a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57690
@ -21,6 +21,11 @@ SRCS = version.c tcpdump.c \
|
||||
CLEANFILES+= version.c
|
||||
DPADD+= ${LIBL} ${LIBPCAP}
|
||||
LDADD+= -ll -lpcap
|
||||
.if exists(../../../crypto) && !defined(NOSECURE) && !defined(NO_OPENSSL)
|
||||
DPADD+= ${LIBCRYPTO}
|
||||
LDADD+= -lcrypto
|
||||
CFLAGS+= -I${DESTDIR}/usr/include/openssl -DCRYPTO -DHAVE_LIBCRYPTO -DHAVE_RC5_H -DHAVE_CAST_H
|
||||
.endif
|
||||
|
||||
TCPDUMP_DISTDIR?= ${.CURDIR}/../../../contrib/tcpdump
|
||||
CFLAGS+= -I${TCPDUMP_DISTDIR}/lbl
|
||||
|
Loading…
Reference in New Issue
Block a user