From 6dec29ccab64b0a7e6129283a7b7e311c79fb893 Mon Sep 17 00:00:00 2001 From: kientzle Date: Mon, 19 Apr 2004 22:09:04 +0000 Subject: 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(+) (limited to 'usr.bin') 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 -- cgit v1.1