mirror of
https://github.com/opnsense/src.git
synced 2026-04-02 07:55:21 -04:00
GNU tar in the base system is now called "gtar"
"tar" is now just a link to "gtar". This lays the groundwork for an orderly migration from GNU tar to some other tar. (First, we introduce the new tar program, then we migrate the 'tar' name, then we remove gtar, with intervals of months between these steps.) Approved by: gordon
This commit is contained in:
parent
7d23b5b7db
commit
581dfc5cc0
1 changed files with 11 additions and 1 deletions
|
|
@ -3,7 +3,12 @@
|
|||
TARDIR= ${.CURDIR}/../../../contrib/tar
|
||||
.PATH: ${TARDIR}/lib ${TARDIR}/src
|
||||
|
||||
PROG= tar
|
||||
PROG= gtar
|
||||
|
||||
.if !defined(WITH_BSDTAR)
|
||||
LINKS= ${BINDIR}/gtar ${BINDIR}/tar
|
||||
MLINKS= gtar.1 tar.1
|
||||
.endif
|
||||
|
||||
SUBDIR= doc
|
||||
|
||||
|
|
@ -18,4 +23,9 @@ SRCS+= buffer.c compare.c create.c delete.c extract.c incremen.c list.c \
|
|||
|
||||
CFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR} -I${TARDIR}/lib -I${TARDIR}/src
|
||||
|
||||
# "Rename" tar.1 to gtar.1 so that we can install gtar.1 with
|
||||
# tar.1 as an optional link (rather than vice versa)
|
||||
gtar.1: tar.1
|
||||
cp $(.CURDIR)/tar.1 $(.TARGET)
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
|||
Loading…
Reference in a new issue