Dash:
[t2-trunk.git] / package / base / texinfo / crossbuild-env.patch
blob5c0fa97f91193081e5d4c61004a929b913d70418
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../texinfo/crossbuild-env.patch
5 # Copyright (C) 2006 - 2007 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 The SDE wrappers take care of the build environment, and
18 the build scripts do not work in a clean environment.
20 --- texinfo-4.11/configure.vanilla 2007-09-14 16:10:50.000000000 +0200
21 +++ texinfo-4.11/configure 2007-09-14 16:12:13.000000000 +0200
22 @@ -15943,7 +15943,7 @@
23 # it gets the wrong CC etc.
24 # env -i gives this build host configure a clean environment;
25 # consequently, we have to re-initialize $PATH.
26 - env -i CC="$BUILD_CC" AR="$BUILD_AR" RANLIB="$BUILD_RANLIB" \
27 + CC="${BUILD_CC}" AR="${BUILD_AR}" RANLIB="${BUILD_RANLIB}" \
28 PATH="$PATH" \
29 tools_only=1 \
30 ${confdir}/configure --build=${build} --host=${build} \