From e1334ba4a790325be74941f734867def8bdcaa72 Mon Sep 17 00:00:00 2001 From: Brian Evans Date: Tue, 12 Apr 2022 09:15:59 -0400 Subject: [PATCH] dev-php/pecl-http: Add compile options to remove automatic deps Limits IDNA implementation to net-dns/libidn2 Future customization with USE is possible, but it does not make sense to have multiple IDNA implementations. The code removes duplicate calls even if many libraries are linked. Closes: https://bugs.gentoo.org/837917 Signed-off-by: Brian Evans --- dev-php/pecl-http/pecl-http-3.2.5.ebuild | 4 +++- dev-php/pecl-http/pecl-http-4.2.2.ebuild | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/dev-php/pecl-http/pecl-http-3.2.5.ebuild b/dev-php/pecl-http/pecl-http-3.2.5.ebuild index 484ce862f8fe6..9cadd35fc6821 100644 --- a/dev-php/pecl-http/pecl-http-3.2.5.ebuild +++ b/dev-php/pecl-http/pecl-http-3.2.5.ebuild @@ -38,7 +38,9 @@ RDEPEND="${DEPEND} php_targets_php8-0? ( dev-php/pecl-http:8[php_targets_php8-0(-)] ) php_targets_php8-1? ( dev-php/pecl-http:8[php_targets_php8-1(-)] )" -PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps --without-http-libidn-dir ) +PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps + --without-http-libidn-dir --without-http-libicu-dir + --without-http-libidnkit2-dir --without-http-libidnkit-dir ) PATCHES=( "${FILESDIR}/${PN}-3.2.4-curl-cookies.patch" ) diff --git a/dev-php/pecl-http/pecl-http-4.2.2.ebuild b/dev-php/pecl-http/pecl-http-4.2.2.ebuild index d0642996b9c74..da62a219af9ef 100644 --- a/dev-php/pecl-http/pecl-http-4.2.2.ebuild +++ b/dev-php/pecl-http/pecl-http-4.2.2.ebuild @@ -36,7 +36,9 @@ DEPEND=" RDEPEND="${DEPEND} php_targets_php7-4? ( dev-php/pecl-http:7[php_targets_php7-4(-)] )" -PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps --without-http-libidn-dir ) +PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps + --without-http-libidn-dir --without-http-libicu-dir + --without-http-libidnkit2-dir --without-http-libidnkit-dir ) src_prepare() { if use php_targets_php8-0 || use php_targets_php8-1 ; then