aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/bsdcat/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/bsdcat/Makefile')
-rw-r--r--usr.bin/bsdcat/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/bsdcat/Makefile b/usr.bin/bsdcat/Makefile
index 992874f9eac4..c2864b7e7aba 100644
--- a/usr.bin/bsdcat/Makefile
+++ b/usr.bin/bsdcat/Makefile
@@ -6,7 +6,8 @@ _LIBARCHIVEDIR= ${SRCTOP}/contrib/libarchive
_LIBARCHIVECONFDIR= ${SRCTOP}/lib/libarchive
PROG= bsdcat
-BSDCAT_VERSION_STRING= 3.5.0
+BSDCAT_VERSION_STRING!= sed -n '/define.*ARCHIVE_VERSION_ONLY_STRING/{s,[^0-9.],,gp;q;}' \
+ ${_LIBARCHIVEDIR}/libarchive/archive.h
.PATH: ${_LIBARCHIVEDIR}/cat
SRCS= bsdcat.c cmdline.c