bsdcat,cpio,tar: derive version string from archive.h
Reviewed by: mm MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D27823
This commit is contained in:
parent
40c4557bee
commit
2ff66a9155
@ -6,7 +6,8 @@ _LIBARCHIVEDIR= ${SRCTOP}/contrib/libarchive
|
||||
_LIBARCHIVECONFDIR= ${SRCTOP}/lib/libarchive
|
||||
|
||||
PROG= bsdcat
|
||||
BSDCAT_VERSION_STRING= 3.5.1
|
||||
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
|
||||
|
@ -6,7 +6,8 @@ _LIBARCHIVEDIR= ${SRCTOP}/contrib/libarchive
|
||||
_LIBARCHIVECONFDIR= ${SRCTOP}/lib/libarchive
|
||||
|
||||
PROG= bsdcpio
|
||||
BSDCPIO_VERSION_STRING= 3.5.1
|
||||
BSDCPIO_VERSION_STRING!= sed -n '/define.*ARCHIVE_VERSION_ONLY_STRING/{s,[^0-9.],,gp;q;}' \
|
||||
${_LIBARCHIVEDIR}/libarchive/archive.h
|
||||
|
||||
.PATH: ${_LIBARCHIVEDIR}/cpio
|
||||
SRCS= cpio.c cmdline.c
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user