From 6be5c660a51597f57764f0cf9f7dd2dcecb7fa20 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 12 Mar 2010 10:17:09 +0000 Subject: main/lighttpd: fix version number in lighttpd It should not pick up the git describe string from aports fixes #323 --- main/lighttpd/lighttpd-version-from-git.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 main/lighttpd/lighttpd-version-from-git.patch (limited to 'main/lighttpd/lighttpd-version-from-git.patch') 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 \ -- cgit v1.2.3