tar: fix EXTRA_DEPENDS

EXTRA_DEPENDS should be used for version constraints. Change to DEPENDS.

Fixes: 488be84 ("utils/tar: Make compression, acl, and xattr support configuration options")
Fixes: 7a49296 ("utils/tar: Fix defaulting to selecting dependencies")
Signed-off-by: George Sapkin <george@sapk.in>
This commit is contained in:
George Sapkin authored and Josef Schlehofer committed 2025-12-21 14:56:41 +01:00
1 parent 2d9126fef6
commit ad82c17f71
1 file changed
+1 -4
+1 -4
View File
@@ -35,8 +35,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/tar define Package/tar
SECTION:=utils SECTION:=utils
CATEGORY:=Utilities CATEGORY:=Utilities
DEPENDS:=+PACKAGE_TAR_POSIX_ACL:libacl +PACKAGE_TAR_XATTR:libattr +PACKAGE_TAR_BZIP2:bzip2 DEPENDS:=+PACKAGE_TAR_POSIX_ACL:libacl +PACKAGE_TAR_XATTR:libattr +PACKAGE_TAR_BZIP2:bzip2 +PACKAGE_TAR_XZ:xz +PACKAGE_TAR_XZ:xz-utils
EXTRA_DEPENDS:=$(if $(CONFIG_PACKAGE_TAR_XZ),xz)
TITLE:=GNU tar TITLE:=GNU tar
URL:=https://www.gnu.org/software/tar/ URL:=https://www.gnu.org/software/tar/
MENU:=1 MENU:=1
@@ -65,8 +64,6 @@ define Package/tar/config
config PACKAGE_TAR_XZ config PACKAGE_TAR_XZ
bool "tar: Enable seamless xz support" bool "tar: Enable seamless xz support"
select PACKAGE_xz-utils
select PACKAGE_xz
default y default y
config PACKAGE_TAR_ZSTD config PACKAGE_TAR_ZSTD