On Mon, Jan 19, 2026 at 12:53:36PM +0100, Kirill A. Korinsky wrote:
> On Mon, 19 Jan 2026 12:12:58 +0100,
> Stuart Henderson <[email protected]> wrote:
> >
> > On 2026/01/19 17:33, Pontus Stenetorp wrote:
> > > # keep it synced with x11/mplayer
> > > V= 8.0.1
> > > +REVISION= 1
> >
> > please use tabs not spaces and REVISION should start at 0
> >
> > > +.include <bsd.port.arch.mk>
> > > +
> > > +.if ${PROPERTIES:Mlp64} || ${MACHINE_ARCH} == i386
> >
> > why the arch restriction?
> >
>
> Probably because multimedia/svt-av1 has:
>
> ONLY_FOR_ARCHS= ${LP64_ARCHS} i386
That sucks because it means wantlib vs deps breakage on non-lp64
non-i386 archs.
> > > +WANTLIB+= SvtAv1Enc
> > > +LIB_DEPENDS+= multimedia/svt-av1
> > > +LIBavcodec_EXTRALIBS+= -lSvtAv1Enc
> > > +CONFIGURE_ARGS+= --enable-libsvtav1
> > > +.endif
> > > +
> > > .if ${MACHINE_ARCH} == i386
> > > LDLIBFLAGS+= -Wl,-znotext
> > > .endif
> > >
> >
>
> --
> wbr, Kirill
>
--
jca