bsd.own.mk: Introduce TAR_XZ_CMD

It is TAR_CMD with -J added, and can be used to avoid a tar | xz pipe
that could mask errors.

Reviewed by:	bz
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50473
This commit is contained in:
Ed Maste
2025-05-22 14:48:13 -04:00
parent bada381188
commit 7866f1270f
+2
View File
@@ -272,8 +272,10 @@ XZ_THREADS?= 0
.if !empty(XZ_THREADS)
XZ_CMD?= xz -T ${XZ_THREADS}
TAR_XZ_CMD?= ${TAR_CMD} -J --options xz:threads=${XZ_THREADS}
.else
XZ_CMD?= xz
TAR_XZ_CMD?= ${TAR_CMD} -J
.endif
PKG_CMD?= pkg