@ -0,0 +1,35 @@ |
|||||
|
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
|
# |
||||
|
# Filename: package/.../flex/disable-tests.patch |
||||
|
# Copyright (C) 2016 The OpenSDE Project |
||||
|
# |
||||
|
# More information can be found in the files COPYING and README. |
||||
|
# |
||||
|
# This patch file is dual-licensed. It is available under the license the |
||||
|
# patched project is licensed under, as long as it is an OpenSource license |
||||
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
||||
|
# of the GNU General Public License as published by the Free Software |
||||
|
# Foundation; either version 2 of the License, or (at your option) any later |
||||
|
# version. |
||||
|
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
|
||||
|
Due to automake stupidity the Makefile in tests/ has an 'all' target that |
||||
|
depends on $(BUILD_SOURCES), which means when building flex parts of the test |
||||
|
suite are built even if they're not needed, resulting in flex needing |
||||
|
flex-native and bison-native to build. |
||||
|
|
||||
|
This patch removes the tests directory from SUBDIRS and will be conditionally |
||||
|
applied by the recipe. |
||||
|
|
||||
|
Upstream-Status: Inappropriate |
||||
|
Signed-off-by: Ross Burton <ross.burton@intel.com> |
||||
|
|
||||
|
diff --git a/Makefile.am b/Makefile.am
|
||||
|
index 076ccad..0574d7b 100644
|
||||
|
--- a/Makefile.am
|
||||
|
+++ b/Makefile.am
|
||||
|
@@ -55,3 +55,2 @@ SUBDIRS = \
|
||||
|
po \ |
||||
|
- tests \
|
||||
|
tools |
@ -0,0 +1,33 @@ |
|||||
|
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
|
# |
||||
|
# Filename: package/.../flex/do_not_create_pdf_doc.patch |
||||
|
# Copyright (C) 2016 The OpenSDE Project |
||||
|
# |
||||
|
# More information can be found in the files COPYING and README. |
||||
|
# |
||||
|
# This patch file is dual-licensed. It is available under the license the |
||||
|
# patched project is licensed under, as long as it is an OpenSource license |
||||
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
||||
|
# of the GNU General Public License as published by the Free Software |
||||
|
# Foundation; either version 2 of the License, or (at your option) any later |
||||
|
# version. |
||||
|
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
|
||||
|
Upstream-Status: Inappropriate (embedded specific) |
||||
|
|
||||
|
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> |
||||
|
|
||||
|
Index: flex-2.5.37/doc/Makefile.am
|
||||
|
===================================================================
|
||||
|
--- flex-2.5.37.orig/doc/Makefile.am 2012-07-21 04:18:27.000000000 +0300
|
||||
|
+++ flex-2.5.37/doc/Makefile.am 2013-07-30 17:57:09.834834531 +0300
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
|
||||
|
info_TEXINFOS = flex.texi |
||||
|
dist_man_MANS = flex.1 |
||||
|
-dist_doc_DATA= flex.pdf
|
||||
|
+EXTRA_DIST= flex.pdf
|
||||
|
|
||||
|
CLEANFILES = \ |
||||
|
flex.hks \ |