summaryrefslogtreecommitdiffstats
path: root/package/flex/0001-flex-disable-documentation.patch
diff options
context:
space:
mode:
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>2017-05-23 11:22:01 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-05-23 15:48:02 +0200
commit41ee484bafe402cfadcf1d480b7c8b44bf206af1 (patch)
tree32556115ab908d4a32eea68b2f93d69abd28a4ee /package/flex/0001-flex-disable-documentation.patch
parent3525b970c0e5a5575b74dd1c6983f98ce6bcd3db (diff)
downloadbuildroot-41ee484bafe402cfadcf1d480b7c8b44bf206af1.tar.gz
buildroot-41ee484bafe402cfadcf1d480b7c8b44bf206af1.zip
flex: only prevent the flex binary to be built for target, not for host
We do want to build the flex binary when building host-flex since it's needed as a build dependency for other packages. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/flex/0001-flex-disable-documentation.patch')
-rw-r--r--package/flex/0001-flex-disable-documentation.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/package/flex/0001-flex-disable-documentation.patch b/package/flex/0001-flex-disable-documentation.patch
new file mode 100644
index 0000000000..68bec128ee
--- /dev/null
+++ b/package/flex/0001-flex-disable-documentation.patch
@@ -0,0 +1,23 @@
+flex: disable documentation
+
+Since we prevent the flex binary to be built, we also need to prevent
+the documentation to be built, otherwise it will fail like this:
+
+Making all in doc
+make[2]: Entering directory '/br/output/build/flex-2.6.4/doc'
+make[2]: *** No rule to make target '../src/flex', needed by 'flex.1'.
+Stop.
+
+Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
+
+diff -rup a/Makefile.in b/Makefile.in
+--- a/Makefile.in 2017-05-06 15:49:09.000000000 +0100
++++ b/Makefile.in 2017-05-10 14:35:20.152794902 +0100
+@@ -450,7 +450,6 @@ EXTRA_DIST = \
+
+ SUBDIRS = \
+ src \
+- doc \
+ examples \
+ po \
+ tests \
OpenPOWER on IntegriCloud