Omar Polo wrote (2023-01-08 14:15 CET):
> On 2023/01/08 14:10:40 +0100, Omar Polo <o...@omarpolo.com> wrote:
> > don't have the hardware to test, but at the moment luakit is not build
> > on aarch64 because luajit is not available for that arch (see
> > lang/luajit ONLY_FOR_ARCHS).  Removing it from the list should make
> > the package available at least.
> 
> actually, there's also a typo that would cause a wrong WANTLIB on
> non-luajit arches.  full diff:

Good catch!

ok sdk@

> Index: Makefile
> ===================================================================
> RCS file: /home/cvs/ports/www/luakit/Makefile,v
> retrieving revision 1.38
> diff -u -p -r1.38 Makefile
> --- Makefile  9 Nov 2022 18:18:35 -0000       1.38
> +++ Makefile  8 Jan 2023 13:14:56 -0000
> @@ -4,6 +4,7 @@ GH_ACCOUNT =  luakit
>  GH_PROJECT = luakit
>  # used in MAKE_FLAGS
>  GH_TAGNAME = 2.3.3
> +REVISION =   0
>  
>  EPOCH =              1
>  
> @@ -27,7 +28,6 @@ WANTLIB += soup-2.4 sqlite3 webkit2gtk-4
>  
>  # luajit archs
>  .if ${MACHINE_ARCH} == "arm" \
> - || ${MACHINE_ARCH} == "aarch64" \
>   || ${MACHINE_ARCH} == "amd64" \
>   || ${MACHINE_ARCH} == "i386" \
>   || ${MACHINE_ARCH} == "powerpc"
> @@ -35,7 +35,7 @@ WANTLIB +=  luajit-5.1
>  LIB_DEPENDS +=       lang/luajit
>  MAKE_FLAGS +=        USE_LUAJIT=1
>  .else
> -WANTLIB +=   ${MODLLUA_WANTLIB}
> +WANTLIB +=   ${MODLUA_WANTLIB}
>  MAKE_FLAGS +=        USE_LUAJIT=0
>  .endif
>  
> 

Reply via email to