mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-10 04:30:00 +00:00
swig: avoid host contamination, make build deterministic
* Explicitly disable all other languages than python, which was the only language listed in DEPENDS. * Inherit pythonnative to make it find OE's python executable. * Depend on libpcre in order to reliably enable Swig's regex feature. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
14082ab648
commit
9150eee6c4
@@ -6,15 +6,39 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e7807a6282784a7dde4c846626b08fc6 \
|
|||||||
file://LICENSE-UNIVERSITIES;md5=8ce9dcc8f7c994de4a408b205c72ba08"
|
file://LICENSE-UNIVERSITIES;md5=8ce9dcc8f7c994de4a408b205c72ba08"
|
||||||
|
|
||||||
SECTION = "devel"
|
SECTION = "devel"
|
||||||
INC_PR = "r2"
|
INC_PR = "r3"
|
||||||
|
|
||||||
DEPENDS = "python"
|
DEPENDS = "libpcre python"
|
||||||
|
|
||||||
SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz"
|
SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz"
|
||||||
|
|
||||||
inherit autotools
|
inherit autotools pythonnative
|
||||||
|
|
||||||
EXTRA_OECONF = " --without-guile "
|
EXTRA_OECONF = " \
|
||||||
|
--with-python=${PYTHON} \
|
||||||
|
--without-allegrocl \
|
||||||
|
--without-android \
|
||||||
|
--without-boost \
|
||||||
|
--without-chicken \
|
||||||
|
--without-clisp \
|
||||||
|
--without-csharp \
|
||||||
|
--without-d \
|
||||||
|
--without-gcj \
|
||||||
|
--without-go \
|
||||||
|
--without-guile \
|
||||||
|
--without-java \
|
||||||
|
--without-lua \
|
||||||
|
--without-mzscheme \
|
||||||
|
--without-ocaml \
|
||||||
|
--without-octave \
|
||||||
|
--without-perl5 \
|
||||||
|
--without-pike \
|
||||||
|
--without-php \
|
||||||
|
--without-python3 \
|
||||||
|
--without-r \
|
||||||
|
--without-ruby \
|
||||||
|
--without-tcl \
|
||||||
|
"
|
||||||
|
|
||||||
BBCLASSEXTEND = "native"
|
BBCLASSEXTEND = "native"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user