Patchwork taglib: Force a disable of the floating dependency on boost

login
register
mail settings
Submitter Richard Purdie
Date May 21, 2014, 4:50 p.m.
Message ID <1400691017.17834.1.camel@ted>
Download mbox | patch
Permalink /patch/72515/
State New
Headers show

Comments

Richard Purdie - May 21, 2014, 4:50 p.m.
taglib appears to depend on boost if it finds it in the sysroot. Force
it not to do this. Someone with better cmake skills may be able to
do this in a neater way.

Signed-off-by: Richard Purdie <richard.purdie@linuxfAAoundation.org>

 }
Ross Burton - May 21, 2014, 6:49 p.m.
On 21 May 2014 17:50, Richard Purdie <richard.purdie@linuxfoundation.org> wrote:
> Signed-off-by: Richard Purdie <richard.purdie@linuxfAAoundation.org>

The Linux Alcoholics Anonymous Foundation?

Ross

Patch

diff --git a/meta/recipes-support/taglib/taglib_1.9.1.bb
b/meta/recipes-support/taglib/taglib_1.9.1.bb
index 0ecb444..0421f61 100644
--- a/meta/recipes-support/taglib/taglib_1.9.1.bb
+++ b/meta/recipes-support/taglib/taglib_1.9.1.bb
@@ -24,5 +24,7 @@  EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib',
True).replace('lib', '')}"
 do_configure_prepend () {
 	rm -f ${S}/admin/ltmain.sh
 	rm -f ${S}/admin/libtool.m4.in
+	# Don't have a floating dependeny on boost
+	sed -i -e "s/atomic.hpp/atomic-not-exist.hpp/"
${S}/ConfigureChecks.cmake