From: | "Alexandre Rostovtsev (tetromino)" <tetromino@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/libxml2/files: libxml2-2.9.1-icu-pkgconfig.patch |
Date: | Mon, 30 Dec 2013 05:31:13 |
Message-Id: | 20131230053109.043292004E@flycatcher.gentoo.org |
1 | tetromino 13/12/30 05:31:08 |
2 | |
3 | Added: libxml2-2.9.1-icu-pkgconfig.patch |
4 | Log: |
5 | Add multilib support (bug #480404, thanks to David Heidelberger (okias) and Alexis Ballier). |
6 | |
7 | (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key CF0ADD61) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-libs/libxml2/files/libxml2-2.9.1-icu-pkgconfig.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libxml2/files/libxml2-2.9.1-icu-pkgconfig.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libxml2/files/libxml2-2.9.1-icu-pkgconfig.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: libxml2-2.9.1-icu-pkgconfig.patch |
16 | =================================================================== |
17 | diff --git a/configure.in b/configure.in |
18 | index 7374564..13c8d4e 100644 |
19 | --- a/configure.in |
20 | +++ b/configure.in |
21 | @@ -1444,19 +1444,11 @@ XML_LIBTOOLLIBS="libxml2.la" |
22 | AC_SUBST(WITH_ICONV) |
23 | |
24 | WITH_ICU=0 |
25 | -ICU_LIBS="" |
26 | if test "$with_icu" != "yes" ; then |
27 | echo Disabling ICU support |
28 | else |
29 | - ICU_CONFIG=icu-config |
30 | - if ${ICU_CONFIG} --cflags >/dev/null 2>&1 |
31 | - then |
32 | - ICU_LIBS=`${ICU_CONFIG} --ldflags` |
33 | - WITH_ICU=1 |
34 | - echo Enabling ICU support |
35 | - else |
36 | - AC_MSG_ERROR([libicu config program icu-config not found]) |
37 | - fi |
38 | + PKG_CHECK_MODULES(ICU, icu-i18n) |
39 | + WITH_ICU=1 |
40 | fi |
41 | AC_SUBST(WITH_ICU) |
42 | AC_SUBST(ICU_LIBS) |