summaryrefslogtreecommitdiffstats
path: root/usr.bin/tar
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2005-03-13 23:49:53 +0000
committerkientzle <kientzle@FreeBSD.org>2005-03-13 23:49:53 +0000
commitb3cbed0960d78b89f94f6db9d4ed1a8d2706e412 (patch)
treecc7e0a30e3f74afdfb3d987e3e3359b987a36988 /usr.bin/tar
parentebf9e3f896d258d341de715cb75fe7710219faf2 (diff)
downloadFreeBSD-src-b3cbed0960d78b89f94f6db9d4ed1a8d2706e412.zip
FreeBSD-src-b3cbed0960d78b89f94f6db9d4ed1a8d2706e412.tar.gz
Re-unbreak the distfile target.
Also, reduce the WARNS level to 5 since different build environments end up using different Yacc skeletons. The BSD one does not predeclare yyparse, the FSF one does, so it's not really possible to consistently enforce both -Wmissing-prototypes and -Wredundant-decls.
Diffstat (limited to 'usr.bin/tar')
-rw-r--r--usr.bin/tar/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/tar/Makefile b/usr.bin/tar/Makefile
index 9611497..b999861 100644
--- a/usr.bin/tar/Makefile
+++ b/usr.bin/tar/Makefile
@@ -7,8 +7,9 @@
PROG= bsdtar
VERSION= 1.01.022
-SRCS= bsdtar.c getdate.y matching.c read.c util.c write.c
-WARNS?= 6
+DIST_SRCS= bsdtar.c getdate.y matching.c read.c util.c write.c
+SRCS= ${DIST_SRCS}
+WARNS?= 5
DPADD= ${LIBARCHIVE} ${LIBBZ2} ${LIBZ}
LDADD= -larchive -lbz2 -lz
CFLAGS+= -DPACKAGE_VERSION=\"${VERSION}\"
@@ -23,7 +24,7 @@ DIST_BUILD_DIR= ${.OBJDIR}/${PROG}-${VERSION}
CLEANDIRS+= ${DIST_BUILD_DIR}
DISTFILE= ${PROG}-${VERSION}.tar.gz
# Files that just get copied to the distfile build directory
-DIST_FILES= ${SRCS_ORIGINAL}
+DIST_FILES= ${DIST_SRCS}
DIST_FILES+= ${MAN}
DIST_FILES+= bsdtar.h bsdtar_platform.h
DIST_FILES+= Makefile.am
OpenPOWER on IntegriCloud