summaryrefslogtreecommitdiffstats
path: root/lib/liblzma
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-02-10 07:32:40 +0000
committerngie <ngie@FreeBSD.org>2017-02-10 07:32:40 +0000
commit0d4e3d76af6dae0df115d1e23238a6e9d6438561 (patch)
tree9a6d85969899c244a5fef4613119d1503130328a /lib/liblzma
parentad0c9114e00a9a30168e0c13c17d8f65571aa67f (diff)
downloadFreeBSD-src-0d4e3d76af6dae0df115d1e23238a6e9d6438561.zip
FreeBSD-src-0d4e3d76af6dae0df115d1e23238a6e9d6438561.tar.gz
MFC r312452-r312512:
r312452-r312512: - Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones This simplifies pathing in make/displayed output - Use .CURDIR:H instead of .CURDIR to simplify pathing in output, etc
Diffstat (limited to 'lib/liblzma')
-rw-r--r--lib/liblzma/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/liblzma/Makefile b/lib/liblzma/Makefile
index 62c2994..9dd7735 100644
--- a/lib/liblzma/Makefile
+++ b/lib/liblzma/Makefile
@@ -2,9 +2,9 @@
PACKAGE=lib${LIB}
LIB= lzma
-LZMADIR= ${.CURDIR}/../../contrib/xz/src/liblzma
+LZMADIR= ${SRCTOP}/contrib/xz/src/liblzma
-.PATH: ${LZMADIR}/../common
+.PATH: ${LZMADIR:H}/common
SRCS+= tuklib_physmem.c tuklib_cpucores.c
.PATH: ${LZMADIR}/api/lzma
@@ -145,7 +145,7 @@ CFLAGS+= -DHAVE_CONFIG_H \
-I${LZMADIR}/lzma \
-I${LZMADIR}/delta \
-I${LZMADIR}/simple \
- -I${LZMADIR}/../common
+ -I${LZMADIR:H}/common
LIBADD+= pthread
OpenPOWER on IntegriCloud