aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.commands.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk/bsd.commands.mk')
-rw-r--r--Mk/bsd.commands.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/Mk/bsd.commands.mk b/Mk/bsd.commands.mk
index 2320597ee130..60095228516f 100644
--- a/Mk/bsd.commands.mk
+++ b/Mk/bsd.commands.mk
@@ -93,6 +93,12 @@ XARGS?= /usr/bin/xargs
XMKMF?= ${LOCALBASE}/bin/xmkmf -a
YACC?= /usr/bin/yacc
+.if exists(/usr/bin/xz)
+XZ_CMD?= /usr/bin/xz
+.else
+XZ_CMD?= ${LOCALBASE}/bin/xz
+.endif
+
.if exists(/sbin/md5)
MD5?= /sbin/md5
.else