From ae1a2b54739e2588f2a71ac0793e1a1c91903563 Mon Sep 17 00:00:00 2001 From: ngie Date: Sat, 11 Feb 2017 06:47:07 +0000 Subject: MFC r312490: Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones This implifies pathing in make/displayed output --- lib/libpcap/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libpcap') 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 -- cgit v1.1