On Sat Nov 06, 2021 at 04:10:48PM +0000, Klemens Nanni wrote:
> On Sat, Nov 06, 2021 at 05:01:32PM +0100, Antoine Jacoutot wrote:
> > On Sat, Nov 06, 2021 at 04:51:54PM +0100, Rafael Sadowski wrote:
> > > Without this tweak, the build fails for me. gtk+-2 expects python3
> > > executable. I also have this problem with gtk+-3 and I think the
> > > problem also exists in 4.
> >
> >
> > That looks wrong.
> > Looks like you have a broken system missing python3.
>
> Yes, python3 is provided by the default python package, python%3.9
> at the moment.
>
> Ports symlink `pyhthon' to MODPY_BIN which is legit, i.e. they're
> catching the unversioned interpreter with this.
>
> Our chrome browsers are the only two exceptions to this, so they should
> probably be fixed as well.
>
> OK?
>
That makes sense now!
>
>
> Index: www/iridium/Makefile
> ===================================================================
> RCS file: /cvs/ports/www/iridium/Makefile,v
> retrieving revision 1.120
> diff -u -p -r1.120 Makefile
> --- www/iridium/Makefile 2 Nov 2021 09:06:54 -0000 1.120
> +++ www/iridium/Makefile 6 Nov 2021 16:08:58 -0000
> @@ -194,7 +194,6 @@ GN_ARGS+= is_component_build=false
>
> pre-configure:
> @ln -sf ${MODPY_BIN} ${WRKDIR}/bin/python
> - @ln -sf ${MODPY_BIN} ${WRKDIR}/bin/python3
> .for _arch in x64 ia32 arm64
> . for _dir in avcodec avformat avutil
> @cp -pR
> ${WRKSRC}/third_party/ffmpeg/chromium/config/Chrome/linux/${_arch}/lib${_dir}
> \
> Index: www/chromium/Makefile
> ===================================================================
> RCS file: /cvs/ports/www/chromium/Makefile,v
> retrieving revision 1.593
> diff -u -p -r1.593 Makefile
> --- www/chromium/Makefile 30 Oct 2021 17:49:27 -0000 1.593
> +++ www/chromium/Makefile 6 Nov 2021 16:09:08 -0000
> @@ -192,7 +192,6 @@ GN_ARGS+= is_component_build=false
>
> pre-configure:
> @ln -sf ${MODPY_BIN} ${WRKDIR}/bin/python
> - @ln -sf ${MODPY_BIN} ${WRKDIR}/bin/python3
> .for _arch in x64 ia32 arm64
> . for _dir in avcodec avformat avutil
> @cp -pR
> ${WRKSRC}/third_party/ffmpeg/chromium/config/Chrome/linux/${_arch}/lib${_dir}
> \
>