aboutsummaryrefslogtreecommitdiffstats
path: root/main/lighttpd/lighttpd-version-from-git.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-03-12 10:17:09 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-03-12 10:18:48 +0000
commit6be5c660a51597f57764f0cf9f7dd2dcecb7fa20 (patch)
treecde954ef2b625451f388938433187c4bcf46b987 /main/lighttpd/lighttpd-version-from-git.patch
parent651f1f520b769e9bc7379f49a37fc821f2ac6c43 (diff)
downloadaports-6be5c660a51597f57764f0cf9f7dd2dcecb7fa20.tar.bz2
aports-6be5c660a51597f57764f0cf9f7dd2dcecb7fa20.tar.xz
main/lighttpd: fix version number in lighttpd
It should not pick up the git describe string from aports fixes #323
Diffstat (limited to 'main/lighttpd/lighttpd-version-from-git.patch')
-rw-r--r--main/lighttpd/lighttpd-version-from-git.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/lighttpd/lighttpd-version-from-git.patch b/main/lighttpd/lighttpd-version-from-git.patch
new file mode 100644
index 0000000000..ae6407c49f
--- /dev/null
+++ b/main/lighttpd/lighttpd-version-from-git.patch
@@ -0,0 +1,13 @@
+Index: src/Makefile.am
+===================================================================
+--- src/Makefile.am (revision 2717)
++++ src/Makefile.am (working copy)
+@@ -19,7 +19,7 @@
+ REVISION=""; \
+ fi; \
+ fi; \
+- if test -z "$$REVISION" -a -x "`which git`"; then \
++ if test -z "$$REVISION" -a -d "$(top_srcdir)/.git" -a -x "`which git`"; then \
+ REVISION="$$(cd "$(top_srcdir)"; LANG= LC_ALL=C git describe --always 2>/dev/null || echo)"; \
+ fi; \
+ if test -n "$$REVISION"; then \