FreeBSD Bugzilla – Attachment 139399 Details for
Bug 185636
[PATCH] devel/gmake: implicit gmake re-executions miss MAKEFLAGS with make-3.82
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 846 bytes, created by
jcharbon
on 2014-01-10 11:50:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
jcharbon
Created:
2014-01-10 11:50:00 UTC
Size:
846 bytes
patch
obsolete
>diff --git a/devel/gmake/files/patch-main.c b/devel/gmake/files/patch-main.c >new file mode 100644 >index 0000000..9935ca7 >--- /dev/null >+++ b/devel/gmake/files/patch-main.c >@@ -0,0 +1,17 @@ >+When gmake automatically restart itself because one of its includes is updated, >+the "MAKEFLAGS" environment variable is no more honoured. >+ >+http://savannah.gnu.org/bugs/?30723 >+ >+diff -rU3 -N make-3.82.orig/main.c make-3.82/main.c >+--- main.c.orig 2010-07-19 07:10:53.000000000 +0000 >++++ main.c 2014-01-10 10:55:32.000000000 +0000 >+@@ -2093,7 +2093,7 @@ >+ const char *pv = define_makeflags (1, 1); >+ char *p = alloca (sizeof ("MAKEFLAGS=") + strlen (pv) + 1); >+ sprintf (p, "MAKEFLAGS=%s", pv); >+- putenv (p); >++ putenv (allocated_variable_expand (p)); >+ } >+ >+ if (ISDB (DB_BASIC))
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 185636
: 139399 |
139400