aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-01-20 04:39:36 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-01-20 04:39:36 +0000
commit7423a04740be0e53ced61dc4337fb9541ba95b4a (patch)
tree1818e12012ed21c438ce31eb1a36bd05a0d52942
parentbc77d8f48c7c200d740acee9406977cfd5f38e65 (diff)
downloadsrc-7423a04740be0e53ced61dc4337fb9541ba95b4a.tar.gz
src-7423a04740be0e53ced61dc4337fb9541ba95b4a.zip
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
This implifies pathing in make/displayed output MFC after: 3 weeks Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=312490
-rw-r--r--lib/libpcap/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpcap/Makefile b/lib/libpcap/Makefile
index e7512e659121..9b7ffe96e13e 100644
--- a/lib/libpcap/Makefile
+++ b/lib/libpcap/Makefile
@@ -114,7 +114,7 @@ SHLIB_MAJOR= 8
#
# Magic to grab sources out of src/contrib
#
-PCAP_DISTDIR?=${.CURDIR}/../../contrib/libpcap
+PCAP_DISTDIR?=${SRCTOP}/contrib/libpcap
CFLAGS+=-I${PCAP_DISTDIR}
.PATH: ${PCAP_DISTDIR}
.PATH: ${PCAP_DISTDIR}/bpf/net