From 16847ae6c0e862b7e0e8935e7b8de1104e1c6f4b Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Sat, 17 Jul 2004 06:03:47 +0000 Subject: [PATCH] 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. --- gnu/usr.bin/tar/Makefile | 2 +- usr.bin/tar/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/usr.bin/tar/Makefile b/gnu/usr.bin/tar/Makefile index a16019edaf0..875709d40b6 100644 --- a/gnu/usr.bin/tar/Makefile +++ b/gnu/usr.bin/tar/Makefile @@ -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 diff --git a/usr.bin/tar/Makefile b/usr.bin/tar/Makefile index dafac08cb31..6b7758f2dcb 100644 --- a/usr.bin/tar/Makefile +++ b/usr.bin/tar/Makefile @@ -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