<br><br>On Sunday, January 9, 2022, Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com">randrianasulu@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br>On Sunday, January 9, 2022, <<a href="mailto:mnieuw@zap.a2000.nl" target="_blank">mnieuw@zap.a2000.nl</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sat, 8 Jan 2022 11:57:00 +0300<br>
Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com" target="_blank">randrianasulu@gmail.com</a>> wrote:<br>
<br>
> I think i made error by uppercasing __LINUX__ in my patch..<br>
> <br>
> try this edited version on arm/Debian? just put in thirdparty/src and<br>
> rebuild...<br>
<br>
Ah, it finished just in time. Attached is the modified thirdparty<br>
Makefile.<br>
<br>
The thirdparty build process will always call ./configure in the<br>
unpacked source directory. If a source does not use ./configure, but<br>
e.g. cmake, it still needs a configure script that returns true.<br>
That dummy script creation needs to be done in the xxx.cfg_vars<br>
variable. <br>
This was needed for libaom to succeed.</blockquote><div><br></div><div>it worked for me in its original form... </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br>Also, libgif was missing it too, I have seen there the fix before, seems<br>
to have gotten lost. I've added it again.</blockquote><div><br></div><div><br></div><div>for some reason file has dos/win line endings. dos2unix fixed this and resulting diff much smaller now:</div><div><br></div><div>$ dos2unix ~/storage/downloads/Browser/<wbr>Makefile_thirdparty_matN</div><div>dos2unix: converting file /data/data/com.termux/files/<wbr>home/storage/downloads/<wbr>Browser/Makefile_thirdparty_<wbr>matN to Unix format...</div><div>$ mcedit ~/storage/downloads/Browser/<wbr>Makefile_thirdparty_matN</div><div><br></div><div>$ diff -u thirdparty/Makefile ~/storage/downloads/Browser/<wbr>Makefile_thirdparty_matN</div><div>--- thirdparty/Makefile 2022-01-06 19:05:18.735393694 +0300 +++ /data/data/com.termux/files/<wbr>home/storage/downloads/<wbr>Browser/Makefile_thirdparty_<wbr>matN 2022-01-09 02:23:08.606957106 +0300</div><div>@@ -197,11 +197,11 @@ audiofile.mak_params?=LIBS="-<wbr>lm -lstdc++"</div><div> flac.cfg_params?= --enable-shared=no</div><div> flac.cflags?="$(call inc_path,libogg) $(call ld_path,libogg,src/.libs)"</div><div>-giflib.cfg_params=echo "exec true" > ./configure; chmod +x ./configure;</div><div>+giflib.cfg_vars=echo "exec true" > ./configure; chmod +x ./configure;</div><div> lame.cfg_vars?= CFLAGS+=" -O"</div><div> lame.cfg_params?=--enable-<wbr>shared=no</div><div> lame.mak_params?= ; cd $(call bld_path,lame,include); ln -sf . lame</div><div>-libaom.cfg_vars?= mkdir aom.build && cd aom.build && $(call cmake_config,..)</div><div>+libaom.cfg_vars?= echo "exec true" > ./configure; chmod +x ./configure; mkdir aom.build && cd aom.build && $(call cmake_config,..) libaom.cfg_params?= -DENABLE_TESTS=no -DCMAKE_BUILD_TYPE=Release -DENABLE_DOCS=no -DENABLE_SHARED=no -DCMAKE_INSTALL_LIBDIR=lib \ -DENABLE_EXAMPLES=no -DCMAKE_INSTALL_PREFIX=$(call bld_path,libaom)/usr/local libaom.mak_params?= ; $(MAKE) -C libaom*/aom.build install</div><div>$</div><div><br></div><div>i'll try rebuild with your modifications and report back.. </div></blockquote><div><br></div><div>it rebuilds ok with your changes.. </div><div><br></div><div>still, it seems </div><div><br></div><div>cmake_config=echo 'cmake "$$$$@" "$(1)"' > ./configure; chmod +x ./configure;</div><div><br></div><div>a bit above already does this step, not sure why it failed for you.. </div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
MatN<br>
</blockquote>
</blockquote>