mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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 <grknight@gentoo.org>
This commit is contained in:
@@ -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" )
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user