On 11/21/24 00:51, Ross Burton wrote:
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know 
the content is safe.

On 5 Nov 2024, at 10:12, Changqing Li via 
lists.openembedded.org<[email protected]>  
wrote:
--- a/meta/recipes-sato/rxvt-unicode/rxvt-unicode.inc
+++ b/meta/recipes-sato/rxvt-unicode/rxvt-unicode.inc
@@ -37,6 +37,7 @@ do_configure:prepend () {
if [ ! -e ${S}/acinclude.m4 ]; then
cp ${S}/aclocal.m4 ${S}/acinclude.m4
fi
+ sed -i -e 's#@TIC@#:#g' ${S}/doc/Makefile.in
}
A brute-force sed feels ugly and prone to silent breakage.  Wouldn’t this work 
just as well:

EXTRA_OEMAKE = “TIC=true”

Hi, Ross

Thanks for advice.  But this @TIC@ cannot replaced by add configs like EXTRA_OEMAKE.

TIC is defined in configure.ac by "AC_PATH_PROG(TIC, tic, :) ", so TIC will be native tic path.

and during configure process, configure will replace @TIC@ in doc/Makefile.in with native tic path.

So in do_install stage, the doc/Makefile already have a hardcode native tic path, not variable $(TIC)

which could be replaced by pass argument. Seems no interface for us to pass argument to change TIC.

Regards

Changqing


Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#207500): 
https://lists.openembedded.org/g/openembedded-core/message/207500
Mute This Topic: https://lists.openembedded.org/mt/109403291/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to