diff options
author | Justin Kim <justin.kim@collabora.com> | 2015-09-15 23:18:12 +0900 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-10-02 16:44:32 +0300 |
commit | 6d5091443a1bfce75af2f749ebde588855c54f31 (patch) | |
tree | 22627658473b282cb415f0925193308de55f02ee | |
parent | 91f656f0fef162417a9930df9ac2235aa5e27005 (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.patch | 37 | ||||
-rw-r--r-- | recipes/build-tools/flex.recipe | 3 |
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']} |