From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCH v2] swig: avoid host contamination, make build deterministic
Date: Wed, 13 Mar 2013 17:36:17 +0100 [thread overview]
Message-ID: <20130313163617.GS3260@jama> (raw)
In-Reply-To: <1362605111-17641-1-git-send-email-obi@opendreambox.org>
[-- Attachment #1: Type: text/plain, Size: 2223 bytes --]
On Wed, Mar 06, 2013 at 10:25:11PM +0100, Andreas Oberritter wrote:
> * 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.
Applied, thanks!
>
> Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
> ---
> Sorry, forgot to add [meta-oe] to the Subject line.
>
> meta-oe/recipes-devtools/swig/swig.inc | 34 +++++++++++++++++++++++++++-----
> 1 file changed, 29 insertions(+), 5 deletions(-)
>
> diff --git a/meta-oe/recipes-devtools/swig/swig.inc b/meta-oe/recipes-devtools/swig/swig.inc
> index 97fc5c7..df6f780 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 \
> file://LICENSE-UNIVERSITIES;md5=8ce9dcc8f7c994de4a408b205c72ba08"
>
> SECTION = "devel"
> -INC_PR = "r2"
> +INC_PR = "r3"
>
> -DEPENDS = "python"
> +DEPENDS = "libpcre python"
>
> SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz"
>
> -inherit autotools
> -
> -EXTRA_OECONF = " --without-guile "
> +inherit autotools pythonnative
> +
> +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"
>
> --
> 1.7.10.4
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
prev parent reply other threads:[~2013-03-13 16:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-06 21:25 [meta-oe][PATCH v2] swig: avoid host contamination, make build deterministic Andreas Oberritter
2013-03-13 16:36 ` Martin Jansa [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130313163617.GS3260@jama \
--to=martin.jansa@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.