From: yzhu1 <[email protected]> $CC is able to has ',', when $CC includes some flags, which will trigger error, like: | Creating Makefile from Makefile.in | sed: -e expression #1, char 72: unknown option to `s' | | sed: -e expression #1, char 72: unknown option to `s'
So use '#' instead of ',' as separator, it is more safe for the case. Signed-off-by: yzhu1 <[email protected]> Signed-off-by: Roy Li <[email protected]> --- meta/recipes-extended/man/man/man-configure.patch | 23 +++++++++++++++++++++ meta/recipes-extended/man/man_1.6g.bb | 1 + 2 files changed, 24 insertions(+) create mode 100644 meta/recipes-extended/man/man/man-configure.patch diff --git a/meta/recipes-extended/man/man/man-configure.patch b/meta/recipes-extended/man/man/man-configure.patch new file mode 100644 index 0000000..edef7d4 --- /dev/null +++ b/meta/recipes-extended/man/man/man-configure.patch @@ -0,0 +1,23 @@ +Upstream-Status: Pending + +$CC is able to has ',', when $CC includes some flags, which will trigger error, +like: + | Creating Makefile from Makefile.in + | sed: -e expression #1, char 72: unknown option to `s' + | + | sed: -e expression #1, char 72: unknown option to `s' + +So use '#' instead of ',' as separator + +Signed-off-by: yzhu1 <[email protected]> +--- a/configure ++++ b/configure +@@ -1321,7 +1321,7 @@ do + echo "Creating $infile from $infile.in" + sed -e ' + s,@version@,$version, +-s,@CC@,$CC, ++s#@CC@#$CC# + s,@EXEEXT@,$EXEEXT, + s,@BUILD_CC@,$BUILD_CC, + s,@INSTALL@,$INSTALL, diff --git a/meta/recipes-extended/man/man_1.6g.bb b/meta/recipes-extended/man/man_1.6g.bb index a66e01c..a2b16d2 100644 --- a/meta/recipes-extended/man/man_1.6g.bb +++ b/meta/recipes-extended/man/man_1.6g.bb @@ -34,6 +34,7 @@ SRC_URI = "http://primates.ximian.com/~flucifredi/${BPN}/${BPN}-${PV}.tar.gz \ file://man-1.5m2-sigpipe.patch \ file://man-1.6e-i18n_whatis.patch \ file://man-1.6e-new_sections.patch \ + file://man-configure.patch \ file://man.1.gz;unpack=false \ file://man.7.gz;unpack=false \ file://man.conf \ -- 1.7.10.4 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
