[Buildroot] [PATCH 2/4] package/efl: bump to 1.17.0

Gustavo Zacarias gustavo at zacarias.com.ar
Sun May 1 13:18:57 UTC 2016


On 30/04/16 20:04, Romain Naour wrote:


> The .pc file is manually generated in the luajit Makefile, so it give a wrong
> path for host-luajit.
>
> $ host/usr/bin/pkgconf --cflags luajit
> /usr/include/luajit-2.0
>
> It should be:
> $ host/usr/bin/pkgconf --cflags luajit
> [...]output/host/usr/include/luajit-2.0
>
> Can you try with this patch ?
>
> diff --git a/package/luajit/luajit.mk b/package/luajit/luajit.mk
> index 623bfcc..0aab04d 100644
> --- a/package/luajit/luajit.mk
> +++ b/package/luajit/luajit.mk
> @@ -75,5 +75,11 @@ define HOST_LUAJIT_INSTALL_CMDS
>          $(MAKE) PREFIX="/usr" DESTDIR="$(HOST_DIR)" LDCONFIG=true -C $(@D) install
>   endef
>
> +define HOST_LUAJIT_FIX_PC_FILE
> +       sed -i -e "s|^prefix=.*|prefix=$(HOST_DIR)/usr|"
> $(HOST_DIR)/usr/lib/pkgconfig/luajit.pc
> +endef
> +
> +HOST_LUAJIT_POST_INSTALL_HOOKS = HOST_LUAJIT_FIX_PC_FILE
> +
>   $(eval $(generic-package))
>   $(eval $(host-generic-package))
>
> Best regards,
> Romain

Hi Romain.
It doesn't help, the problem seems to be that efl is picking up the 
distro luajit (which i have installed) over any other alternative.
I'll try to cook a patch on my side.
Regards.



More information about the buildroot mailing list