aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@FreeBSD.org>2005-03-13 19:55:53 +0000
committerTim Kientzle <kientzle@FreeBSD.org>2005-03-13 19:55:53 +0000
commit6f55523db7172d2f9ce752f10248667851eb279e (patch)
treeec8a4a73f60e289427ef41539d03d1926a240c5b
parent3e41208d6e21fe1c5f9b00a884334044f6d0a8d9 (diff)
Notes
-rw-r--r--usr.bin/tar/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/tar/Makefile b/usr.bin/tar/Makefile
index 78d77ccf97e8..9611497693cc 100644
--- a/usr.bin/tar/Makefile
+++ b/usr.bin/tar/Makefile
@@ -7,13 +7,12 @@
PROG= bsdtar
VERSION= 1.01.022
-# bsd.prog.mk rewrites SRCS, but I need the unedited list below
-SRCS_ORIGINAL= bsdtar.c getdate.y matching.c read.c util.c write.c
-SRCS= ${SRCS_ORIGINAL}
+SRCS= bsdtar.c getdate.y matching.c read.c util.c write.c
WARNS?= 6
DPADD= ${LIBARCHIVE} ${LIBBZ2} ${LIBZ}
LDADD= -larchive -lbz2 -lz
CFLAGS+= -DPACKAGE_VERSION=\"${VERSION}\"
+CFLAGS+= -I${.CURDIR}
.if !defined(WITH_GTAR)
SYMLINKS= bsdtar ${BINDIR}/tar