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-apps/xwininfo/
Date: Sat, 02 Jul 2011 00:00:04
Message-Id: 49aa8bfb872d378fd63656ba5956f966e019dae3.chithead@gentoo
1 commit: 49aa8bfb872d378fd63656ba5956f966e019dae3
2 Author: Chi-Thanh Christopher Nguyen <chithanh <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 1 23:59:51 2011 +0000
4 Commit: Chi-Thanh Christopher Nguyen <chithanh <AT> cs <DOT> tu-berlin <DOT> de>
5 CommitDate: Fri Jul 1 23:59:51 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=49aa8bfb
7
8 x11-apps/xwininfo: sync with portage
9
10 ---
11 x11-apps/xwininfo/xwininfo-9999.ebuild | 10 +++++++++-
12 1 files changed, 9 insertions(+), 1 deletions(-)
13
14 diff --git a/x11-apps/xwininfo/xwininfo-9999.ebuild b/x11-apps/xwininfo/xwininfo-9999.ebuild
15 index 47bbb61..f71d30d 100644
16 --- a/x11-apps/xwininfo/xwininfo-9999.ebuild
17 +++ b/x11-apps/xwininfo/xwininfo-9999.ebuild
18 @@ -4,7 +4,7 @@
19
20 EAPI=4
21
22 -inherit xorg-2
23 +inherit xorg-2 flag-o-matic
24
25 DESCRIPTION="window information utility for X"
26
27 @@ -15,3 +15,11 @@ RDEPEND=">=x11-libs/libxcb-1.6
28 x11-libs/libX11"
29 DEPEND="${RDEPEND}
30 >=x11-proto/xproto-7.0.17"
31 +
32 +pkg_setup() {
33 + # interix has a _very_ old iconv in libc, however, including
34 + # iconv.h redefines those symbols to libiconv_*, which then
35 + # are unresolved, as the configure check is old and dumb.
36 + [[ ${CHOST} == *-interix* ]] &&
37 + append-libs -liconv
38 +}