X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/blobdiff_plain/04ddb925d10d635b066301b2dee22ca8b590761a..0900c9fddbed53d7ef5b12413111781cb432b941:/usr.bin/tar/Makefile diff --git a/usr.bin/tar/Makefile b/usr.bin/tar/Makefile index eaf5b343ad..68317fb998 100644 --- a/usr.bin/tar/Makefile +++ b/usr.bin/tar/Makefile @@ -1,4 +1,4 @@ -# $DragonFly: src/usr.bin/tar/Makefile,v 1.9 2007/04/28 16:16:31 pavalos Exp $ +# $DragonFly: src/usr.bin/tar/Makefile,v 1.10 2007/05/05 21:16:57 pavalos Exp $ PROG= bsdtar SRCS= bsdtar.c getdate.y matching.c read.c tree.c util.c write.c @@ -9,8 +9,12 @@ NOSHARED?= yes CONTRIBDIR= ${.CURDIR}/../../contrib/libarchive-2.1/tar .PATH: ${CONTRIBDIR} +VERSION!= cat ${CONTRIBDIR}/../version CFLAGS+= -I${.OBJDIR} -I${.CURDIR}/../../lib/libarchive -I${CONTRIBDIR} -I- CFLAGS+= -DPLATFORM_CONFIG_H=\"config.h\" +CFLAGS+= -DPACKAGE_STRING=\"libarchive\ ${VERSION}\" +CFLAGS+= -DPACKAGE_VERSION=\"${VERSION}\" +CFLAGS+= -DVERSION=\"${VERSION}\" SYMLINKS= ${BINDIR}/bsdtar ${BINDIR}/tar MLINKS= bsdtar.1 tar.1