diff options
author | Enji Cooper <ngie@FreeBSD.org> | 2017-01-20 04:46:20 +0000 |
---|---|---|
committer | Enji Cooper <ngie@FreeBSD.org> | 2017-01-20 04:46:20 +0000 |
commit | 61d324734a7238af3cdad1c6284274ea91519f8a (patch) | |
tree | 9e2ce832dad0f354c7f44448e0aa0b1c6f521812 /lib/liblzma | |
parent | 1ec0c0f5053ce86b6ae33ecbf519de253646fd51 (diff) | |
download | src-61d324734a7238af3cdad1c6284274ea91519f8a.tar.gz src-61d324734a7238af3cdad1c6284274ea91519f8a.zip |
Use SRCTOP-relative paths and .CURDIR with :H instead of ".." specified paths
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
Notes
Notes:
svn path=/head/; revision=312498
Diffstat (limited to 'lib/liblzma')
-rw-r--r-- | lib/liblzma/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/liblzma/Makefile b/lib/liblzma/Makefile index 62c2994febad..9dd773514844 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 |