python-whoosh: bump to version 2.7.4
[buildroot-gz.git] / package / zic / 0001-remove-dependency-check-on-version-file.patch
blobf4b259052570720fe619419ea39165683d2fc7a6
1 From 4ad8932f93c490d15586b1def3863e9580e6eceb Mon Sep 17 00:00:00 2001
2 From: Martin Bark <martin@barkynet.com>
3 Date: Sat, 3 Dec 2016 13:51:50 +0000
4 Subject: [PATCH] remove dependency check on version file
6 $(VERSION_DEPS) includes dependencies from tzdata meaning applications
7 such as zic can't build from tzcode on their own. Remove the dependency
8 to $(VERSION_DEPS) since it is not necessary to check for version updates
9 in released code. This solves building zic from tzcode without needing
10 tzdata.
12 Signed-off-by: Martin Bark <martin@barkynet.com>
13 ---
14 Makefile | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
17 diff --git a/Makefile b/Makefile
18 index 1b714a8..00d2c09 100644
19 --- a/Makefile
20 +++ b/Makefile
21 @@ -437,7 +437,7 @@ INSTALL: ALL install date.1
22 cp date $(DESTDIR)$(BINDIR)/.
23 cp -f date.1 $(DESTDIR)$(MANDIR)/man1/.
25 -version: $(VERSION_DEPS)
26 +version:
27 { (type git) >/dev/null 2>&1 && \
28 V=`git describe --match '[0-9][0-9][0-9][0-9][a-z]*' \
29 --abbrev=7 --dirty` || \
30 --
31 2.7.4