net-nds/openldap: drop unused ICU linkage
authorRobin H. Johnson <robbat2@gentoo.org>
Sun, 19 Feb 2017 23:07:32 +0000 (15:07 -0800)
committerRobin H. Johnson <robbat2@gentoo.org>
Mon, 20 Feb 2017 00:36:32 +0000 (16:36 -0800)
Fixes: https://bugs.gentoo.org/show_bug.cgi?id=510858
Package-Manager: portage-2.3.2

net-nds/openldap/openldap-2.4.44-r1.ebuild
net-nds/openldap/openldap-2.4.44.ebuild

index b4cce18283d76dcac801a3f5212f0f0645f9fe29..aede7c1056b0b46e2ed1ffd60e87fdfcb90155a0 100644 (file)
@@ -21,7 +21,7 @@ LICENSE="OPENLDAP GPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
 
-IUSE_DAEMON="crypt icu samba slp tcpd experimental minimal"
+IUSE_DAEMON="crypt samba slp tcpd experimental minimal"
 IUSE_BACKEND="+berkdb"
 IUSE_OVERLAY="overlays perl"
 IUSE_OPTIONAL="gnutls iodbc sasl ssl odbc debug ipv6 libressl +syslog selinux static-libs"
@@ -42,7 +42,7 @@ BDB_PKGS=''
 for _slot in $BDB_SLOTS; do BDB_PKGS="${BDB_PKGS} sys-libs/db:${_slot}" ; done
 
 # openssl is needed to generate lanman-passwords required by samba
-CDEPEND="icu? ( dev-libs/icu:= )
+CDEPEND="
        ssl? (
                !gnutls? (
                        !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] )
@@ -401,8 +401,8 @@ multilib_src_configure() {
 
        use debug && myconf+=( $(use_enable debug) )
 
-       # ICU usage is not configurable
-       export ac_cv_header_unicode_utypes_h="$(multilib_is_native_abi && use icu && echo yes || echo no)"
+       # ICU exists only in the configure, nowhere in the codebase, bug #510858
+       export ac_cv_header_unicode_utypes_h=no ol_cv_lib_icu=no
 
        if ! use minimal && multilib_is_native_abi; then
                local CPPFLAGS=${CPPFLAGS}
index 560b602b6ac622e062e82d1076488263bc0462be..47400ab6b2596067e9867fb8fae6c44cdc487907 100644 (file)
@@ -21,7 +21,7 @@ LICENSE="OPENLDAP GPL-2"
 SLOT="0"
 KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
 
-IUSE_DAEMON="crypt icu samba slp tcpd experimental minimal"
+IUSE_DAEMON="crypt samba slp tcpd experimental minimal"
 IUSE_BACKEND="+berkdb"
 IUSE_OVERLAY="overlays perl"
 IUSE_OPTIONAL="gnutls iodbc sasl ssl odbc debug ipv6 libressl +syslog selinux static-libs"
@@ -41,7 +41,7 @@ BDB_PKGS=''
 for _slot in $BDB_SLOTS; do BDB_PKGS="${BDB_PKGS} sys-libs/db:${_slot}" ; done
 
 # openssl is needed to generate lanman-passwords required by samba
-CDEPEND="icu? ( dev-libs/icu:= )
+CDEPEND="
        ssl? (
                !gnutls? (
                        !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] )
@@ -400,8 +400,8 @@ multilib_src_configure() {
 
        use debug && myconf+=( $(use_enable debug) )
 
-       # ICU usage is not configurable
-       export ac_cv_header_unicode_utypes_h="$(multilib_is_native_abi && use icu && echo yes || echo no)"
+       # ICU exists only in the configure, nowhere in the codebase, bug #510858
+       export ac_cv_header_unicode_utypes_h=no ol_cv_lib_icu=no
 
        if ! use minimal && multilib_is_native_abi; then
                local CPPFLAGS=${CPPFLAGS}