summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Kim <justin.kim@collabora.com>2015-09-15 23:18:12 +0900
committerSebastian Dröge <sebastian@centricular.com>2015-10-07 18:59:33 +0100
commite7ac25f28beb9b98d585f45403e18b004a5f003e (patch)
tree6894d030c259be3f2ef39d449b72be707290c779
parent85ca233d1c1183496301885e89c51d2abf912b35 (diff)
flex: don't generate document for all platform
https://bugzilla.gnome.org/show_bug.cgi?id=755066
-rw-r--r--recipes/build-tools/flex-prevent-to-build-doc.patch37
-rw-r--r--recipes/build-tools/flex.recipe3
2 files changed, 39 insertions, 1 deletions
diff --git a/recipes/build-tools/flex-prevent-to-build-doc.patch b/recipes/build-tools/flex-prevent-to-build-doc.patch
new file mode 100644
index 00000000..75e74546
--- /dev/null
+++ b/recipes/build-tools/flex-prevent-to-build-doc.patch
@@ -0,0 +1,37 @@
+From 1d8134aa1caae96cb7c7d3b9fe369c745f1a3e05 Mon Sep 17 00:00:00 2001
+From: Justin Kim <justin.kim@collabora.com>
+Date: Tue, 15 Sep 2015 22:48:07 +0900
+Subject: [PATCH] flex: prevent to build doc
+
+---
+ Makefile.am | 1 -
+ configure.ac | 1 -
+ 2 files changed, 2 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 462bbf7..96f3da7 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -117,7 +117,6 @@ BUILT_SOURCES = \
+ SUBDIRS = \
+ lib \
+ . \
+- doc \
+ examples \
+ po \
+ tests
+diff --git a/configure.ac b/configure.ac
+index 33119a3..d98d06f 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -112,7 +112,6 @@ AC_CHECK_FUNCS([dup2 isascii memset pow regcomp setlocale strchr strtol])
+
+ AC_CONFIG_FILES(
+ Makefile
+-doc/Makefile
+ examples/Makefile
+ examples/fastwc/Makefile
+ examples/manual/Makefile
+--
+2.3.2 (Apple Git-55)
+
diff --git a/recipes/build-tools/flex.recipe b/recipes/build-tools/flex.recipe
index 91ef08b8..c5df8f86 100644
--- a/recipes/build-tools/flex.recipe
+++ b/recipes/build-tools/flex.recipe
@@ -8,6 +8,7 @@ class Recipe(recipe.Recipe):
url = 'http://downloads.sourceforge.net/project/{0}/{0}-{1}.tar.gz'.format(name, version)
files_bins = ['flex', 'flex++', 'lex']
patches = ['flex-Remove-no-undefined-from-LDFLAGS.patch',
- 'flex-configure.ac-Use-gettext-0.19.patch']
+ 'flex-configure.ac-Use-gettext-0.19.patch',
+ 'flex-prevent-to-build-doc.patch']
autoreconf = True
platform_deps = {Platform.WINDOWS: ['mingw-gettext']}