From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gustavo Zacarias Date: Sun, 1 May 2016 10:18:57 -0300 Subject: [Buildroot] [PATCH 2/4] package/efl: bump to 1.17.0 In-Reply-To: <9c17ab05-1c5c-8c9d-66d8-9faa54f0578a@gmail.com> References: <1461790014-17051-1-git-send-email-romain.naour@gmail.com> <1461790014-17051-2-git-send-email-romain.naour@gmail.com> <572355E6.4040400@zacarias.com.ar> <5724A39E.8000308@zacarias.com.ar> <5724C7A2.7040704@gmail.com> <9c17ab05-1c5c-8c9d-66d8-9faa54f0578a@gmail.com> Message-ID: <57260241.5060403@zacarias.com.ar> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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.