commit:     94ce2cab54aacbe0381377f680be1eaa42b0532a
Author:     Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Wed Jan  9 15:27:23 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Jan 19 02:16:12 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94ce2cab

dev-libs/mongo-c-driver: disable automagic on dev-libs/icu

Closes: https://bugs.gentoo.org/666592
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/10788
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 ...mongo-c-driver-1.13.0.ebuild => mongo-c-driver-1.13.0-r1.ebuild} | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild
similarity index 93%
rename from dev-libs/mongo-c-driver/mongo-c-driver-1.13.0.ebuild
rename to dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild
index 5eeca7c911d..33fa5771803 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,13 +12,14 @@ 
SRC_URI="https://github.com/mongodb/mongo-c-driver/archive/${PV}.tar.gz -> ${P}.
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="amd64 ~hppa x86"
-IUSE="debug examples libressl sasl ssl static-libs test"
+IUSE="debug examples icu libressl sasl ssl static-libs test"
 REQUIRED_USE="test? ( static-libs )"
 
 RDEPEND="app-arch/snappy:=
        >=dev-libs/libbson-${PV}
        dev-python/sphinx
        sys-libs/zlib:=
+       icu? ( dev-libs/icu:= )
        sasl? ( dev-libs/cyrus-sasl:= )
        ssl? (
                !libressl? ( dev-libs/openssl:0= )
@@ -56,6 +57,7 @@ src_configure() {
                -DCMAKE_SKIP_RPATH=ON # mongoc-stat insecure runpath
                -DENABLE_BSON=SYSTEM
                -DENABLE_EXAMPLES=OFF
+               -DENABLE_ICU="$(usex icu ON OFF)"
                -DENABLE_MAN_PAGES=ON
                -DENABLE_MONGOC=ON
                -DENABLE_SNAPPY=SYSTEM

Reply via email to