[oe-commits] Koen Kooi : swig 2.0.0: disable guile support

git at git.openembedded.org git at git.openembedded.org
Thu Mar 1 16:15:38 UTC 2012


Module: meta-openembedded.git
Branch: master
Commit: 2eb27e123b7a85453224f2c822d43f8572eec57a
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=2eb27e123b7a85453224f2c822d43f8572eec57a

Author: Koen Kooi <koen at dominion.thruhere.net>
Date:   Thu Mar  1 17:10:55 2012 +0100

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 <koen at dominion.thruhere.net>

---

 meta-oe/recipes-devtools/swig/swig.inc |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/meta-oe/recipes-devtools/swig/swig.inc b/meta-oe/recipes-devtools/swig/swig.inc
index 1c33e6e..59f385e 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() {





More information about the Openembedded-commits mailing list