mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Make bsdtar the default system tar. This makes /usr/bin/tar a symlink
pointing to /usr/bin/bsdtar by default. To make it point to /usr/bin/gtar, you can define WITH_GTAR.
This commit is contained in:
parent
c550f2206d
commit
16847ae6c0
2 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ TARDIR= ${.CURDIR}/../../../contrib/tar
|
|||
|
||||
PROG= gtar
|
||||
|
||||
.if !defined(WITH_BSDTAR)
|
||||
.if defined(WITH_GTAR)
|
||||
SYMLINKS= ${BINDIR}/gtar ${BINDIR}/tar
|
||||
MLINKS= gtar.1 tar.1
|
||||
.endif
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ WARNS?= 6
|
|||
DPADD= ${LIBARCHIVE} ${LIBBZ2} ${LIBZ}
|
||||
LDADD= -larchive -lbz2 -lz
|
||||
|
||||
.if defined(WITH_BSDTAR)
|
||||
.if !defined(WITH_GTAR)
|
||||
SYMLINKS= ${BINDIR}/bsdtar ${BINDIR}/tar
|
||||
MLINKS= bsdtar.1 tar.1
|
||||
.endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue