summaryrefslogtreecommitdiffstats
path: root/main/lighttpd/lighttpd-version-from-git.patch
diff options
context:
space:
mode:
authorMichael Mason <ms13sp@gmail.com>2010-03-17 17:43:41 +0000
committerMichael Mason <ms13sp@gmail.com>2010-03-17 17:43:41 +0000
commit4b23d4dfa33b09440ffbdfccbd46571649ccecaa (patch)
tree02c3b507f3e038c1e191fa97d59562b468e64b65 /main/lighttpd/lighttpd-version-from-git.patch
parente59a787cc0775b8f7f97d492674a257baef45f6d (diff)
parent192b8fad759488bbe2fea1b43acda638eb6ebe85 (diff)
downloadaports-4b23d4dfa33b09440ffbdfccbd46571649ccecaa.tar.bz2
aports-4b23d4dfa33b09440ffbdfccbd46571649ccecaa.tar.xz
Merge branch 'master' of git://git.alpinelinux.org/aports
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 000000000..ae6407c49
--- /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 \