net-libs/gnutls: add idn USE
authorAlon Bar-Lev <alonbl@gentoo.org>
Fri, 14 Oct 2016 15:18:50 +0000 (18:18 +0300)
committerAlon Bar-Lev <alonbl@gentoo.org>
Fri, 14 Oct 2016 15:26:45 +0000 (18:26 +0300)
Thanks: abailler
Bug: 597118

Package-Manager: portage-2.3.0

net-libs/gnutls/gnutls-3.4.16.ebuild
net-libs/gnutls/gnutls-3.5.5.ebuild

index 3c56750ef6b1e04f40637ac16fd19802d9f121b1..f1c46d9281687c6dd83b5efab2f75ac82c82b2ca 100644 (file)
@@ -14,7 +14,7 @@ LICENSE="GPL-3 LGPL-2.1"
 SLOT="0/30" # libgnutls.so number
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
 IUSE_LINGUAS=" en cs de fi fr it ms nl pl sv uk vi zh_CN"
-IUSE="+cxx +crywrap dane doc examples guile nls +openssl pkcs11 static-libs test +tls-heartbeat +tools zlib ${IUSE_LINGUAS// / linguas_}"
+IUSE="+cxx +crywrap dane doc examples guile idn nls +openssl pkcs11 static-libs test +tls-heartbeat +tools zlib ${IUSE_LINGUAS// / linguas_}"
 
 # NOTICE: sys-devel/autogen is required at runtime as we
 # use system libopts
@@ -28,6 +28,7 @@ RDEPEND=">=dev-libs/libtasn1-4.3[${MULTILIB_USEDEP}]
        nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
        pkcs11? ( >=app-crypt/p11-kit-0.23.1[${MULTILIB_USEDEP}] )
        zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
+       idn? ( net-dns/libidn[${MULTILIB_USEDEP}] )
        abi_x86_32? (
                !<=app-emulation/emul-linux-x86-baselibs-20140508
                !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
@@ -108,6 +109,7 @@ multilib_src_configure() {
                $(use_enable static-libs static) \
                $(use_with pkcs11 p11-kit) \
                $(use_with zlib) \
+               $(use_with idn) \
                --without-tpm \
                --with-unbound-root-key-file=/etc/dnssec/root-anchors.txt \
                $([[ ${CHOST} == *-darwin* ]] && echo --disable-hardware-acceleration)
index 3794abd09e20b2597c93037e0b8da1143d6e1c78..5e892cdb2970e87a625732c8609681d00504b024 100644 (file)
@@ -14,7 +14,7 @@ LICENSE="GPL-3 LGPL-2.1"
 SLOT="0/30" # libgnutls.so number
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
 IUSE_LINGUAS=" en cs de fi fr it ms nl pl sv uk vi zh_CN"
-IUSE="+cxx dane doc examples guile nls +openssl pkcs11 sslv2 +sslv3 static-libs test +tls-heartbeat +tools zlib ${IUSE_LINGUAS// / linguas_}"
+IUSE="+cxx dane doc examples guile idn nls +openssl pkcs11 sslv2 +sslv3 static-libs test +tls-heartbeat +tools zlib ${IUSE_LINGUAS// / linguas_}"
 
 # NOTICE: sys-devel/autogen is required at runtime as we
 # use system libopts
@@ -27,6 +27,7 @@ RDEPEND=">=dev-libs/libtasn1-4.3[${MULTILIB_USEDEP}]
        nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
        pkcs11? ( >=app-crypt/p11-kit-0.23.1[${MULTILIB_USEDEP}] )
        zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
+       idn? ( net-dns/libidn[${MULTILIB_USEDEP}] )
        abi_x86_32? (
                !<=app-emulation/emul-linux-x86-baselibs-20140508
                !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
@@ -106,6 +107,7 @@ multilib_src_configure() {
                $(use_enable static-libs static) \
                $(use_with pkcs11 p11-kit) \
                $(use_with zlib) \
+               $(use_with idn) \
                --without-tpm \
                --with-unbound-root-key-file=/etc/dnssec/root-anchors.txt \
                "${libconf[@]}" \