diff options
author | kientzle <kientzle@FreeBSD.org> | 2004-04-19 22:09:04 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2004-04-19 22:09:04 +0000 |
commit | 6dec29ccab64b0a7e6129283a7b7e311c79fb893 (patch) | |
tree | 4b4054815edaf2133c41d796b17b21bc35973844 | |
parent | 7968cd95a05e7029bae9f50c976cced97ef9314a (diff) | |
download | FreeBSD-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.
-rw-r--r-- | usr.bin/tar/Makefile | 5 |
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> |