GNOME Bugzilla – Bug 791989
FreeBSD's sed doesn't allow putting '}' on the same line as 'd' command
Last modified: 2017-12-28 14:20:49 UTC
This problem happens after the recent commit 7d3adc8. It is easy to fix. We just need to replace '-e "d }"' with '-e "d" -e "}"'. config.status: executing po-libgimp/stamp-it commands sed: 1: "d } ": extra characters at the end of d command config.status: executing po-python/stamp-it commands sed: 1: "d } ": extra characters at the end of d command config.status: executing po-plug-ins/stamp-it commands sed: 1: "d } ": extra characters at the end of d command config.status: executing po-script-fu/stamp-it commands sed: 1: "d } ": extra characters at the end of d command config.status: executing po-tips/stamp-it commands sed: 1: "d } ": extra characters at the end of d command config.status: executing po-windows-installer/stamp-it commands sed: 1: "d } ": extra characters at the end of d command config.status: executing po/stamp-it commands Making all in po-libgimp gmake[2]: Entering directory '/home/lantw44/gnome/build/gimp/po-libgimp' gmake[2]: *** No rule to make target 'all'. Stop.
Created attachment 366022 [details] [review] configure: Fix the usage of sed on FreeBSD FreeBSD requires the right brace to be preceded by a newline. Putting it on the same line as other commands is not allowed.
Thanks! Making portable scripts with these commands is always hard. ;-) Pushed. commit bccaf39dc9a61d9592b7650bcf1b243e7f6ae314 (HEAD -> master, origin/master, origin/HEAD) Author: Ting-Wei Lan <lantw@src.gnome.org> Date: Thu Dec 28 01:45:02 2017 +0800 configure: Fix the usage of sed on FreeBSD FreeBSD requires the right brace to be preceded by a newline. Putting it on the same line as other commands is not allowed. https://bugzilla.gnome.org/show_bug.cgi?id=791989 configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)