Contents of /trunk/lprng/patches/lprng-3.8.28-make.patch
Parent Directory | Revision Log
Revision 631 -
(show annotations)
(download)
Sun Jun 1 09:46:11 2008 UTC (16 years, 4 months ago) by niro
File size: 1604 byte(s)
Sun Jun 1 09:46:11 2008 UTC (16 years, 4 months ago) by niro
File size: 1604 byte(s)
-fixes build with newer make
1 | # --- T2-COPYRIGHT-NOTE-BEGIN --- |
2 | # This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
3 | # |
4 | # T2 SDE: package/.../lprng/make-3.81.patch |
5 | # Copyright (C) 2006 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 --- |
16 | |
17 | For some reason the latest make (3.81) invokes the shell via a child make |
18 | instance when the SHELL variable is set to a quoted string and thus messes |
19 | up quoting: |
20 | |
21 | execve("/usr/bin/make", ["make", "testme"], [/* 22 vars */]) = 0 |
22 | -execve("/bin/sh", ["/bin/sh", "-c", "for x in a b c ; do \\\n echo \"$"...], |
23 | [/* 25 vars */]) = 0 |
24 | +execve("/bin/sh", ["/bin/sh", "-c", "\"/bin/sh\" -c for\\ x\\ in\\ a\\ b\\ c"...], [/* 25 vars */]) = 0 |
25 | +execve("/bin/sh", ["/bin/sh", "-c", "for x in a b c ; do \\"], [/* 24 vars */]) = 0 |
26 | |
27 | - Rene Rebe <rene@exactcode.de> |
28 | |
29 | --- LPRng-3.8.28/Makefile.in.vanilla 2006-10-04 19:05:01.000000000 +0000 |
30 | +++ LPRng-3.8.28/Makefile.in 2006-10-04 19:05:07.000000000 +0000 |
31 | @@ -42,7 +42,7 @@ |
32 | LPD_CONF_PATH=\"@LPD_CONF_PATH@\" |
33 | PRINTCAP_PATH=\"@PRINTCAP_PATH@\" |
34 | LPD_PATH=\"@LPD_DIR@/lpd\" |
35 | -SHELL="@SHELL@" |
36 | +SHELL=@SHELL@ |
37 | LOCKFILE=\"@LOCKFILE@\" |
38 | CONFIG_SUBDIR="@CONFIG_SUBDIR@" |
39 | PSHOWALL="@PSHOWALL@" |