From: Romain Naour Date: Sat, 7 May 2016 12:09:45 +0200 Subject: [Buildroot] [PATCH 2/4] package/efl: bump to 1.17.0 In-Reply-To: <57260241.5060403@zacarias.com.ar> 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> <57260241.5060403@zacarias.com.ar> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hi Gustavo, Thomas, All Le 01/05/2016 ? 15:18, Gustavo Zacarias a ?crit : > 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. Gustavo, any progress on your side ? I tried with and without luajit (from the distro) installed on a Fedora 23 and Debian 8 system, I can't reproduce your build issue. Also I fixed the host-luajit issue [1] since then. Thomas, do you think it's too late for this series ? Best regards, Romain [1] https://git.busybox.net/buildroot/commit/?id=e05a5b8e342f94aae7d79fe648003dd1a65ebc41 > > _______________________________________________ > buildroot mailing list > buildroot at busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot