diff options
Diffstat (limited to 'meta/recipes-extended/texinfo/texinfo/0001-texinfo-several-changes-to-build-without-zlib-and-nc.patch')
-rw-r--r-- | meta/recipes-extended/texinfo/texinfo/0001-texinfo-several-changes-to-build-without-zlib-and-nc.patch | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/meta/recipes-extended/texinfo/texinfo/0001-texinfo-several-changes-to-build-without-zlib-and-nc.patch b/meta/recipes-extended/texinfo/texinfo/0001-texinfo-several-changes-to-build-without-zlib-and-nc.patch new file mode 100644 index 0000000000..b43a115b23 --- /dev/null +++ b/meta/recipes-extended/texinfo/texinfo/0001-texinfo-several-changes-to-build-without-zlib-and-nc.patch | |||
@@ -0,0 +1,55 @@ | |||
1 | From ee9d23373b488c4a499c561d71e6b6ba7ca1bd31 Mon Sep 17 00:00:00 2001 | ||
2 | From: Joshua Lock <josh@linux.intel.com> | ||
3 | Date: Fri, 16 Sep 2011 15:35:48 -0700 | ||
4 | Subject: [PATCH 1/3] texinfo: several changes to build without zlib and | ||
5 | ncurses | ||
6 | |||
7 | We already DEPEND on the native texinfo being present before building so | ||
8 | there isn't any need to try and build the required native texinfo binaries | ||
9 | before cross-compiling. This simplifies the recipe somewhat! | ||
10 | |||
11 | Upstream-Status: Inappropriate oe specific | ||
12 | |||
13 | Signed-off-by: Joshua Lock <josh@linux.intel.com> | ||
14 | --- | ||
15 | configure.ac | 24 +----------------------- | ||
16 | 1 file changed, 1 insertion(+), 23 deletions(-) | ||
17 | |||
18 | diff --git a/configure.ac b/configure.ac | ||
19 | index 8094498..5b72fc1 100644 | ||
20 | --- a/configure.ac | ||
21 | +++ b/configure.ac | ||
22 | @@ -247,29 +247,7 @@ AC_CANONICAL_BUILD | ||
23 | # $native_tools is also added to SUBDIRS in the main Makefile.am, | ||
24 | # so that make compiles the native tools first. | ||
25 | # | ||
26 | -if test "$cross_compiling" = no; then | ||
27 | - native_tools= | ||
28 | -else | ||
29 | - native_tools=tools | ||
30 | - test -d "$native_tools" || mkdir "$native_tools" | ||
31 | - confdir=`(cd "$srcdir";pwd)` | ||
32 | - # Make sure the secondary configure won't fail with | ||
33 | - # "error: source directory already configured". | ||
34 | - rm -f config.status | ||
35 | - AC_MSG_NOTICE([[Doing configure of native tools (${build}).]]) | ||
36 | - cd "$native_tools" || exit 1 | ||
37 | - # Run secondary configure in alternate environment or | ||
38 | - # it gets the wrong CC etc. | ||
39 | - # env -i gives this build host configure a clean environment; | ||
40 | - # consequently, we have to re-initialize $PATH. | ||
41 | - env -i CC="$BUILD_CC" AR="$BUILD_AR" RANLIB="$BUILD_RANLIB" \ | ||
42 | - PATH="$PATH" \ | ||
43 | - tools_only=1 \ | ||
44 | - ${confdir}/configure --build=${build} --host=${build} \ | ||
45 | - --disable-rpath --disable-nls | ||
46 | - cd .. || exit 1 | ||
47 | - AC_MSG_NOTICE([[Continuing with main configure (${host}).]]) | ||
48 | -fi | ||
49 | +native_tools= | ||
50 | AC_SUBST(native_tools) | ||
51 | AM_CONDITIONAL(TOOLS_ONLY, [[test "x$tools_only" = x1]]) | ||
52 | |||
53 | -- | ||
54 | 2.39.2 | ||
55 | |||