git: 1d244c00f3ec - main - Mk/Uses/tar.mk: revert "Add .tar.zst support (USES=tar:zst or USES=tar:zstd)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 22 May 2022 05:58:13 UTC
The branch main has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=1d244c00f3ec8a406b921592edc121a4d103f16d commit 1d244c00f3ec8a406b921592edc121a4d103f16d Author: Tobias C. Berner <tcberner@FreeBSD.org> AuthorDate: 2022-05-22 05:56:04 +0000 Commit: Tobias C. Berner <tcberner@FreeBSD.org> CommitDate: 2022-05-22 05:57:49 +0000 Mk/Uses/tar.mk: revert "Add .tar.zst support (USES=tar:zst or USES=tar:zstd)" This reverts commit 863e0d46e6fac215477cf3f9787fb89bd216191c. Reverted due to error: ===> libmtdev-1.1.6_1 Incorrect 'USES+=tar:bz2'. *** Error code 1 Stop. Please fix, test, and readd. With hat: portmgr --- Mk/Uses/tar.mk | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/Mk/Uses/tar.mk b/Mk/Uses/tar.mk index ff1d471360a3..a847cb540616 100644 --- a/Mk/Uses/tar.mk +++ b/Mk/Uses/tar.mk @@ -1,35 +1,33 @@ # handle tar archives # # Feature: tar -# Usage: USES=tar[:[Z|bz2|bzip2|lz|lzma|tbz|tbz2|tgz|txz|xz|zst|zstd] +# Usage: USES=tar[:[xz|lz|lzma|txz|bz[ip]2|tgz|tbz|tbz2|Z]] # # MAINTAINER: ports@FreeBSD.org .if !defined(_INCLUDE_USES_TAR_MK) _INCLUDE_USES_TAR_MK= yes -. if empty(tar_ARGS) -EXTRACT_SUFX?= .tar -. elif ${tar_ARGS} == Z -EXTRACT_SUFX?= .tar.Z -. elif ${tar_ARGS} == bz || ${tar_ARGS} == bzip2 -EXTRACT_SUFX?= .tar.bz2 +. if ${tar_ARGS} == xz +EXTRACT_SUFX?= .tar.xz . elif ${tar_ARGS} == lz EXTRACT_SUFX?= .tar.lz . elif ${tar_ARGS} == lzma EXTRACT_SUFX?= .tar.lzma +. 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 . elif ${tar_ARGS} == tbz EXTRACT_SUFX?= .tbz . elif ${tar_ARGS} == tbz2 EXTRACT_SUFX?= .tbz2 -. elif ${tar_ARGS} == tgz -EXTRACT_SUFX?= .tgz -. elif ${tar_ARGS} == txz -EXTRACT_SUFX?= .txz -. elif ${tar_ARGS} == xz -EXTRACT_SUFX?= .tar.xz -. elif ${tar_ARGS} == zst || ${tar_ARGS} == zstd -EXTRACT_SUFX?= .tar.zst +. elif ${tar_ARGS} == Z +EXTRACT_SUFX?= .tar.Z +. elif empty(tar_ARGS) +EXTRACT_SUFX?= .tar . else IGNORE= Incorrect 'USES+=tar:${tar_ARGS}' . endif