From 97c4c5308bcf30fde222e9f3dd2151fcf3b19108 Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Mon, 19 Apr 2004 22:09:04 +0000 Subject: [PATCH] Allow brave souls to install bsdtar as the default "tar" command by defining WITH_BSDTAR. Note: "gtar" and "bsdtar" commands both exist regardless. --- usr.bin/tar/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/usr.bin/tar/Makefile b/usr.bin/tar/Makefile index 842208a2c661..60c0b06d9ca6 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