From bab7b08353f312d85f561ed27cc1ac971822c1f2 Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Sun, 13 Mar 2005 23:49:53 +0000 Subject: [PATCH] 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. --- usr.bin/tar/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/usr.bin/tar/Makefile b/usr.bin/tar/Makefile index 9611497693cc..b9998615874d 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