summaryrefslogtreecommitdiffstats
path: root/lib/libpcap
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-02-11 06:47:07 +0000
committerngie <ngie@FreeBSD.org>2017-02-11 06:47:07 +0000
commitae1a2b54739e2588f2a71ac0793e1a1c91903563 (patch)
tree18129f24ac4e18f57655993484923cb8eddb6b01 /lib/libpcap
parent28a42a4bdfab8888ac489766d61b1fbf090208c8 (diff)
downloadFreeBSD-src-ae1a2b54739e2588f2a71ac0793e1a1c91903563.zip
FreeBSD-src-ae1a2b54739e2588f2a71ac0793e1a1c91903563.tar.gz
MFC r312490:
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones This implifies pathing in make/displayed output
Diffstat (limited to 'lib/libpcap')
-rw-r--r--lib/libpcap/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpcap/Makefile b/lib/libpcap/Makefile
index e7401a85..d9d9b4fe 100644
--- a/lib/libpcap/Makefile
+++ b/lib/libpcap/Makefile
@@ -110,7 +110,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
OpenPOWER on IntegriCloud