aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses/tar.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk/Uses/tar.mk')
-rw-r--r--Mk/Uses/tar.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mk/Uses/tar.mk b/Mk/Uses/tar.mk
index 92eb0f76997d..18ba4484ef81 100644
--- a/Mk/Uses/tar.mk
+++ b/Mk/Uses/tar.mk
@@ -16,7 +16,9 @@ tar_ARGS?= none
EXTRACT_SUFX?= .tar.xz
.elif ${tar_ARGS} == lzma
EXTRACT_SUFX?= .tar.lzma
-.elif ${tar_ARGS} == bzip2
+.elif ${tar_ARGS} == txz
+EXTRACT_SUFX?= .txz
+.elif ${tar_ARGS} == bzip2 || ${tar_ARGS} == bz2
EXTRACT_SUFX?= .tar.bz2
.elif ${tar_ARGS} == tgz
EXTRACT_SUFX?= .tgz