commit:     426c458f47574d49ce9fef78b27511d8696dbf98
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 16 18:37:01 2025 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Tue Dec 16 18:38:32 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=426c458f

sys-apps/s390-tools: make curl optional

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 .../{s390-tools-2.27.0.ebuild => s390-tools-2.27.0-r1.ebuild}      | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/sys-apps/s390-tools/s390-tools-2.27.0.ebuild 
b/sys-apps/s390-tools/s390-tools-2.27.0-r1.ebuild
similarity index 90%
rename from sys-apps/s390-tools/s390-tools-2.27.0.ebuild
rename to sys-apps/s390-tools/s390-tools-2.27.0-r1.ebuild
index 3efbf572bdb9..c6c615fb73c9 100644
--- a/sys-apps/s390-tools/s390-tools-2.27.0.ebuild
+++ b/sys-apps/s390-tools/s390-tools-2.27.0-r1.ebuild
@@ -12,9 +12,11 @@ 
SRC_URI="https://github.com/ibm-${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="-* ~s390"
-IUSE="abi_s390_32 cryptsetup fuse ncurses openssl pfm snmp zlib"
+IUSE="abi_s390_32 cryptsetup curl fuse ncurses openssl pfm snmp zlib"
 
-RDEPEND="fuse? ( sys-fs/fuse:0= )
+RDEPEND="
+       curl? ( net-misc/curl:0= )
+       fuse? ( sys-fs/fuse:0= )
        ncurses? ( sys-libs/ncurses:0= )
        openssl? (
                dev-libs/openssl:0=
@@ -53,6 +55,7 @@ src_configure() {
        export HAVE_OPENSSL=$(usex openssl 1 0)
        export HAVE_CRYPTSETUP2=$(usex cryptsetup 1 0)
        export HAVE_JSONC=$(usex cryptsetup 1 0)
+       export HAVE_LIBCURL=$(usex curl 1 0)
        tc-export AR BUILD_CC CC CXX LD NM OBJCOPY
 }
 

Reply via email to