diff options
| author | Andreas Oberritter <obi@opendreambox.org> | 2013-03-06 21:25:11 +0000 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-03-12 11:22:39 +0100 |
| commit | 9150eee6c49af39ff3a01d38c9644cfcdbfa4902 (patch) | |
| tree | 27c90f8e306a6b3007b470531307b99fb6663ad8 /meta-oe/recipes-devtools | |
| parent | 14082ab64805cf9571309f674c036f4856029204 (diff) | |
| download | meta-openembedded-9150eee6c49af39ff3a01d38c9644cfcdbfa4902.tar.gz | |
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>
Diffstat (limited to 'meta-oe/recipes-devtools')
| -rw-r--r-- | meta-oe/recipes-devtools/swig/swig.inc | 34 |
1 files changed, 29 insertions, 5 deletions
diff --git a/meta-oe/recipes-devtools/swig/swig.inc b/meta-oe/recipes-devtools/swig/swig.inc index 97fc5c79e1..df6f780706 100644 --- a/meta-oe/recipes-devtools/swig/swig.inc +++ b/meta-oe/recipes-devtools/swig/swig.inc | |||
| @@ -6,15 +6,39 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e7807a6282784a7dde4c846626b08fc6 \ | |||
| 6 | file://LICENSE-UNIVERSITIES;md5=8ce9dcc8f7c994de4a408b205c72ba08" | 6 | file://LICENSE-UNIVERSITIES;md5=8ce9dcc8f7c994de4a408b205c72ba08" |
| 7 | 7 | ||
| 8 | SECTION = "devel" | 8 | SECTION = "devel" |
| 9 | INC_PR = "r2" | 9 | INC_PR = "r3" |
| 10 | 10 | ||
| 11 | DEPENDS = "python" | 11 | DEPENDS = "libpcre python" |
| 12 | 12 | ||
| 13 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz" | 13 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz" |
| 14 | 14 | ||
| 15 | inherit autotools | 15 | inherit autotools pythonnative |
| 16 | 16 | ||
| 17 | EXTRA_OECONF = " --without-guile " | 17 | EXTRA_OECONF = " \ |
| 18 | --with-python=${PYTHON} \ | ||
| 19 | --without-allegrocl \ | ||
| 20 | --without-android \ | ||
| 21 | --without-boost \ | ||
| 22 | --without-chicken \ | ||
| 23 | --without-clisp \ | ||
| 24 | --without-csharp \ | ||
| 25 | --without-d \ | ||
| 26 | --without-gcj \ | ||
| 27 | --without-go \ | ||
| 28 | --without-guile \ | ||
| 29 | --without-java \ | ||
| 30 | --without-lua \ | ||
| 31 | --without-mzscheme \ | ||
| 32 | --without-ocaml \ | ||
| 33 | --without-octave \ | ||
| 34 | --without-perl5 \ | ||
| 35 | --without-pike \ | ||
| 36 | --without-php \ | ||
| 37 | --without-python3 \ | ||
| 38 | --without-r \ | ||
| 39 | --without-ruby \ | ||
| 40 | --without-tcl \ | ||
| 41 | " | ||
| 18 | 42 | ||
| 19 | BBCLASSEXTEND = "native" | 43 | BBCLASSEXTEND = "native" |
| 20 | 44 | ||
