summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2017-06-19 20:47:24 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2017-06-19 20:47:24 +0000
commitc99b67a7947ea215f9c1d44ec022680e98920cd1 (patch)
treeb651dbc9948db013cc06944c3c063e0d1309dc05 /usr.sbin/tcpdump
parent212e02c8360c9ec101759e2dead7dbc99cfddf67 (diff)
downloadsrc-test2-c99b67a7947ea215f9c1d44ec022680e98920cd1.tar.gz
src-test2-c99b67a7947ea215f9c1d44ec022680e98920cd1.zip
Utilize SYSROOT from r320119 in places where DESTDIR may be wanting WORLDTMP.
Since buildenv exports SYSROOT all of these uses will now look in WORLDTMP by default. sys/boot/efi/loader/Makefile A LIBSTAND hack is no longer required for buildenv. MFC after: 2 weeks Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=320122
Diffstat (limited to 'usr.sbin/tcpdump')
-rw-r--r--usr.sbin/tcpdump/tcpdump/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/tcpdump/tcpdump/Makefile b/usr.sbin/tcpdump/tcpdump/Makefile
index cbcab01ed034..9872cbe319c8 100644
--- a/usr.sbin/tcpdump/tcpdump/Makefile
+++ b/usr.sbin/tcpdump/tcpdump/Makefile
@@ -194,7 +194,7 @@ CFLAGS+=-DHAVE_CASPER
.endif
.if ${MK_OPENSSL} != "no"
LIBADD+= crypto
-CFLAGS+= -I${DESTDIR}/usr/include/openssl
+CFLAGS+= -I${SYSROOT:U${DESTDIR}}/usr/include/openssl
CFLAGS+= -DHAVE_LIBCRYPTO -DHAVE_OPENSSL_EVP_H
.endif