dev-libs/mongo-c-driver: disable automagic on dev-libs/icu
authorTomas Mozes <hydrapolic@gmail.com>
Wed, 9 Jan 2019 15:27:23 +0000 (16:27 +0100)
committerThomas Deutschmann <whissi@gentoo.org>
Sat, 19 Jan 2019 02:16:12 +0000 (03:16 +0100)
Closes: https://bugs.gentoo.org/666592
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/10788
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild [moved from dev-libs/mongo-c-driver/mongo-c-driver-1.13.0.ebuild with 93% similarity]

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 5eeca7c911d377bccb7c3584739e69bb3b95932f..33fa57718039abaa3ecd10136a349500b75b681e 100644 (file)
@@ -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