summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMy Name <me@example.com>2014-11-12 17:22:01 +0000
committerMy Name <me@example.com>2014-11-12 17:29:26 +0000
commit1e0a8607165cbeb8d39ab2636b22533e456be035 (patch)
treefadad918726439a04cee91480e4119bf15d5fd42
parent71af077c330831409badadf89c69d967348902e4 (diff)
downloaddefinitions-1e0a8607165cbeb8d39ab2636b22533e456be035.tar.gz
Generate .tarball-version in bison
The version number of bison appends a part of the sha1 of the commit which is being built. This was causing failures in the autoconf when building gstreamer given that it tries to compare the version number of bison. This is a *workaround* to generate a clean version number of bison.
Notes
Notes: Author: Pedro Alvarez <pedro.alvarez@codethink.co.uk>
-rw-r--r--strata/core/bison.morph1
1 files changed, 1 insertions, 0 deletions
diff --git a/strata/core/bison.morph b/strata/core/bison.morph
index d6b3b148..a9497d4e 100644
--- a/strata/core/bison.morph
+++ b/strata/core/bison.morph
@@ -1,6 +1,7 @@
name: bison
kind: chunk
configure-commands:
+- echo $(grep '* Noteworthy changes in release' NEWS | grep -v '?\\.?' | head -n1 | cut -d' ' -f6) > .tarball-version
- bash bootstrap --skip-po
- ./configure --prefix=/usr --disable-nls
build-commands: