commit:     6019a8883acfa44c2eec32836a440ada46cf918c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 20 05:10:18 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Aug 20 05:10:57 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6019a888

dev-libs/libxml2: add USE=ftp

FTP support was disabled by default in 2.10.0 but at least
libxmlsec needs it.

Closes: https://bugs.gentoo.org/865843
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/libxml2/{libxml2-2.10.0.ebuild => libxml2-2.10.0-r1.ebuild} | 3 ++-
 dev-libs/libxml2/libxml2-9999.ebuild                                 | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libxml2/libxml2-2.10.0.ebuild 
b/dev-libs/libxml2/libxml2-2.10.0-r1.ebuild
similarity index 98%
rename from dev-libs/libxml2/libxml2-2.10.0.ebuild
rename to dev-libs/libxml2/libxml2-2.10.0-r1.ebuild
index d9eb0d19172a..713da438e12c 100644
--- a/dev-libs/libxml2/libxml2-2.10.0.ebuild
+++ b/dev-libs/libxml2/libxml2-2.10.0-r1.ebuild
@@ -36,7 +36,7 @@ S="${WORKDIR}/${PN}-${PV%_rc*}"
 
 LICENSE="MIT"
 SLOT="2"
-IUSE="debug examples icu lzma +python readline static-libs test"
+IUSE="debug examples +ftp icu lzma +python readline static-libs test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
@@ -111,6 +111,7 @@ multilib_src_configure() {
        libxml2_configure() {
                ECONF_SOURCE="${S}" econf \
                        --enable-ipv6 \
+                       $(use_with ftp) \
                        $(use_with debug run-debug) \
                        $(use_with icu) \
                        $(use_with lzma) \

diff --git a/dev-libs/libxml2/libxml2-9999.ebuild 
b/dev-libs/libxml2/libxml2-9999.ebuild
index 0fe269e46054..1c24959ee8b4 100644
--- a/dev-libs/libxml2/libxml2-9999.ebuild
+++ b/dev-libs/libxml2/libxml2-9999.ebuild
@@ -36,7 +36,7 @@ S="${WORKDIR}/${PN}-${PV%_rc*}"
 
 LICENSE="MIT"
 SLOT="2"
-IUSE="debug examples icu lzma +python readline static-libs test"
+IUSE="debug examples +ftp icu lzma +python readline static-libs test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
@@ -106,6 +106,7 @@ multilib_src_configure() {
        libxml2_configure() {
                ECONF_SOURCE="${S}" econf \
                        --enable-ipv6 \
+                       $(use_with ftp) \
                        $(use_with debug run-debug) \
                        $(use_with icu) \
                        $(use_with lzma) \

Reply via email to