From 2eb27e123b7a85453224f2c822d43f8572eec57a Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 1 Mar 2012 17:10:55 +0100 Subject: swig 2.0.0: disable guile support It's not in DEPENDS and it breaks on hosts with guile-dev installed: configure:8391: checking whether Guile's SCM_ API works configure:8403: ccache arm-angstrom-linux-gnueabi-gcc -march=armv7-a -fno-tree-vectorize -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 --sysroot=/home/foo/BeagleBone/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/beaglebone -o conftest -O2 -pipe -g -feliminate-unused-debug-types -Wall -W -isystem /usr/include -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -ldl -lguile -lltdl -lgmp -lcrypt -lm -lltdl >&5 cc1: warning: include location "/usr/include" is unsafe for cross-compilation In file included from /usr/include/libguile.h:24:0, from conftest.c:1: /usr/include/gmp.h:39:21: fatal error: gmp-arm.h: No such file or directory Signed-off-by: Koen Kooi --- meta-oe/recipes-devtools/swig/swig.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-devtools/swig/swig.inc b/meta-oe/recipes-devtools/swig/swig.inc index 1c33e6e26c..59f385e513 100644 --- a/meta-oe/recipes-devtools/swig/swig.inc +++ b/meta-oe/recipes-devtools/swig/swig.inc @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e7807a6282784a7dde4c846626b08fc6 \ file://LICENSE-UNIVERSITIES;md5=e0eaeeef7b2662c0c2d0d3c0b2509f75" SECTION = "devel" -INC_PR = "r0" +INC_PR = "r1" DEPENDS = "python" @@ -14,6 +14,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz" inherit autotools +EXTRA_OECONF = " --without-guile " + BBCLASSEXTEND = "native" do_configure() { -- cgit v1.2.3-54-g00ecf