From 6952ec27f17edf61d74e7563d11758c97bacf037 Mon Sep 17 00:00:00 2001 From: bapt Date: Mon, 4 Aug 2014 11:46:15 +0000 Subject: Add txz and bz2 arguments to USES=tar bz2 with other arguments where the argument is the extention not the frmat Keep bzip2 as an alias for bz2. --- Mk/Uses/tar.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Mk') 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 -- cgit