summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2004-04-19 22:09:04 +0000
committerkientzle <kientzle@FreeBSD.org>2004-04-19 22:09:04 +0000
commit6dec29ccab64b0a7e6129283a7b7e311c79fb893 (patch)
tree4b4054815edaf2133c41d796b17b21bc35973844 /usr.bin
parent7968cd95a05e7029bae9f50c976cced97ef9314a (diff)
downloadFreeBSD-src-6dec29ccab64b0a7e6129283a7b7e311c79fb893.zip
FreeBSD-src-6dec29ccab64b0a7e6129283a7b7e311c79fb893.tar.gz
Allow brave souls to install bsdtar as the
default "tar" command by defining WITH_BSDTAR. Note: "gtar" and "bsdtar" commands both exist regardless.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tar/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.bin/tar/Makefile b/usr.bin/tar/Makefile
index 842208a..60c0b06 100644
--- a/usr.bin/tar/Makefile
+++ b/usr.bin/tar/Makefile
@@ -6,5 +6,10 @@ WARNS?= 6
DPADD= ${LIBARCHIVE} ${LIBBZ2} ${LIBZ}
LDADD= -larchive -lbz2 -lz
+.if defined(WITH_BSDTAR)
+LINKS= ${BINDIR}/bsdtar ${BINDIR}/tar
+MLINKS= bsdtar.1 tar.1
+.endif
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud