Gentoo Archives: gentoo-commits

From: Chi-Thanh Christopher Nguyen <chithanh@××××××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/x11:master commit in: x11-base/wayland/
Date: Mon, 31 Oct 2011 21:15:35
Message-Id: a3c32017488b7194093fc0857410221ce0bf4a44.chithead@gentoo
1 commit: a3c32017488b7194093fc0857410221ce0bf4a44
2 Author: Chi-Thanh Christopher Nguyen <chithanh <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 31 21:15:13 2011 +0000
4 Commit: Chi-Thanh Christopher Nguyen <chithanh <AT> cs <DOT> tu-berlin <DOT> de>
5 CommitDate: Mon Oct 31 21:15:13 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=a3c32017
7
8 x11-base/wayland: add configure option to allow cross-compiling, patch from Mandeep Singh Baines in bug #385963.
9
10 ---
11 x11-base/wayland/wayland-9999.ebuild | 8 ++++++--
12 1 files changed, 6 insertions(+), 2 deletions(-)
13
14 diff --git a/x11-base/wayland/wayland-9999.ebuild b/x11-base/wayland/wayland-9999.ebuild
15 index 9efcfcf..7e72275 100644
16 --- a/x11-base/wayland/wayland-9999.ebuild
17 +++ b/x11-base/wayland/wayland-9999.ebuild
18 @@ -4,7 +4,7 @@
19
20 EAPI=4
21
22 -inherit git autotools
23 +inherit git autotools toolchain-funcs
24
25 DESCRIPTION="Wayland protocol libraries"
26 HOMEPAGE="http://wayland.freedesktop.org/"
27 @@ -24,5 +24,9 @@ src_prepare() {
28 }
29
30 src_configure() {
31 - econf $(use_enable static-libs static)
32 + if tc-is-cross-compiler ; then
33 + econf $(use_enable static-libs static) --disable-scanner
34 + else
35 + econf $(use_enable static-libs static)
36 + fi
37 }