summaryrefslogtreecommitdiffstats
path: root/usr.bin/tar/Makefile
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-11-25 14:29:10 +0000
committerbapt <bapt@FreeBSD.org>2014-11-25 14:29:10 +0000
commit8d6c7a49a6d934aea5c5f8462780dbfda3749520 (patch)
treeddfef911600b923ca0abdbed4461a288b9249837 /usr.bin/tar/Makefile
parentf28badddf72721ca05d713d86627fcde7866aaf9 (diff)
downloadFreeBSD-src-8d6c7a49a6d934aea5c5f8462780dbfda3749520.zip
FreeBSD-src-8d6c7a49a6d934aea5c5f8462780dbfda3749520.tar.gz
Convert to usr.bin/ to LIBADD
Reduce overlinking
Diffstat (limited to 'usr.bin/tar/Makefile')
-rw-r--r--usr.bin/tar/Makefile10
1 files changed, 1 insertions, 9 deletions
diff --git a/usr.bin/tar/Makefile b/usr.bin/tar/Makefile
index a289ea4..f7e7775 100644
--- a/usr.bin/tar/Makefile
+++ b/usr.bin/tar/Makefile
@@ -19,15 +19,7 @@ SRCS= bsdtar.c \
SRCS+= err.c \
line_reader.c
-DPADD= ${LIBARCHIVE} ${LIBBZ2} ${LIBZ} ${LIBLZMA} ${LIBBSDXML}
-LDADD= -larchive -lbz2 -lz -llzma -lbsdxml
-.if ${MK_OPENSSL} != "no"
-DPADD+= ${LIBCRYPTO}
-LDADD+= -lcrypto
-.else
-DPADD+= ${LIBMD}
-LDADD+= -lmd
-.endif
+LIBADD= archive
.if ${MK_ICONV} != "no"
CFLAGS+= -DHAVE_ICONV=1 -DHAVE_ICONV_H=1 -DICONV_CONST=const
OpenPOWER on IntegriCloud