summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-02-11 06:55:35 +0000
committerngie <ngie@FreeBSD.org>2017-02-11 06:55:35 +0000
commita06cd8965b7189fd9c0f534053be78bb30ce3e7c (patch)
treefba1c00c8f7ef80d542a2ae18137b0fbad09cbf6
parent4ae51ed9e3f40efc3323f01d77a3c6190a5caf47 (diff)
downloadFreeBSD-src-a06cd8965b7189fd9c0f534053be78bb30ce3e7c.zip
FreeBSD-src-a06cd8965b7189fd9c0f534053be78bb30ce3e7c.tar.gz
MFC r312498:
Use SRCTOP-relative paths and .CURDIR with :H instead of ".." specified paths This simplifies pathing in make/displayed output
-rw-r--r--lib/liblzma/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/liblzma/Makefile b/lib/liblzma/Makefile
index c78933a..24ed42c 100644
--- a/lib/liblzma/Makefile
+++ b/lib/liblzma/Makefile
@@ -1,9 +1,9 @@
# $FreeBSD$
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
@@ -144,7 +144,7 @@ CFLAGS+= -DHAVE_CONFIG_H \
-I${LZMADIR}/lzma \
-I${LZMADIR}/delta \
-I${LZMADIR}/simple \
- -I${LZMADIR}/../common
+ -I${LZMADIR:H}/common
DPADD+= ${LIBPTHREAD}
LDADD+= -lpthread
OpenPOWER on IntegriCloud