aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/tar
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2020-12-29 21:38:47 +0000
committerXin LI <delphij@FreeBSD.org>2020-12-29 22:21:50 +0000
commit2ff66a915526b6509ca57f2046bc7b20b0de8a61 (patch)
tree1500a29c4e828ddaee5793cd91e949673f506e83 /usr.bin/tar
parent40c4557bee27adb15bb376803dffbcd6de323b8a (diff)
Diffstat (limited to 'usr.bin/tar')
-rw-r--r--usr.bin/tar/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tar/Makefile b/usr.bin/tar/Makefile
index d6154dc3b30d..c58671d59aa0 100644
--- a/usr.bin/tar/Makefile
+++ b/usr.bin/tar/Makefile
@@ -5,7 +5,8 @@ _LIBARCHIVEDIR= ${SRCTOP}/contrib/libarchive
PACKAGE= runtime
PROG= bsdtar
-BSDTAR_VERSION_STRING= 3.5.1
+BSDTAR_VERSION_STRING!= sed -n '/define.*ARCHIVE_VERSION_ONLY_STRING/{s,[^0-9.],,gp;q;}' \
+ ${_LIBARCHIVEDIR}/libarchive/archive.h
.PATH: ${_LIBARCHIVEDIR}/tar
SRCS= bsdtar.c \