Apache OpenOffice (AOO) Bugzilla – Issue 64234
function macro mktmp is cutting off leading whitespaces
Last modified: 2013-08-07 15:34:52 UTC
The function macro $(mktmp ..) is cutting off leading whitespaces. This is a follow-up issue for issue 46987.
Created attachment 47827 [details] Patch for dmake
Patch (plus testcase) committed to dmake411.
Please verify
Hmm, this fix breaks the build because $(TYPE) $(mktmp $(foreach,i,$(all_local_obj:b:+".obj") $@ : $(OBJ)$/$(i:+"\n")) $(foreach,i,$(all_misc_obj:b:+".obj") $@ : $(OBJ)$/$(i:+"\n"))) >> $@ in rules.mk creates something like this: ../wntmsci10.pro/misc/all_cpp.dpobj : ../wntmsci10.pro/obj/_cpp.obj ../wntmsci10.pro/misc/all_cpp.dpobj : ../wntmsci10.pro/obj/_eval.obj ../wntmsci10.pro/misc/all_cpp.dpobj : ../wntmsci10.pro/obj/_getopt.obj and the leading space makes this a recipe line. This can probably be fixed by using $(@:^"\n") : $(OBJ)$/$i instead.
issue 81185 handles potential fallout from the mktmp change. Back to FIXED.
.
dmake 4.11 is in use now