1 |
commit: 819737304ba33c3c1cec4d5d580bca5b169c4f07 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Nov 28 22:25:40 2019 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 28 22:47:53 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81973730 |
7 |
|
8 |
dev-php/pecl-http: add PHP 7.4 support |
9 |
|
10 |
Package-Manager: Portage-2.3.80, Repoman-2.3.19 |
11 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
12 |
|
13 |
dev-php/pecl-http/pecl-http-3.2.3.ebuild | 15 ++++++++------- |
14 |
1 file changed, 8 insertions(+), 7 deletions(-) |
15 |
|
16 |
diff --git a/dev-php/pecl-http/pecl-http-3.2.3.ebuild b/dev-php/pecl-http/pecl-http-3.2.3.ebuild |
17 |
index 564462685ed..9d6429e4456 100644 |
18 |
--- a/dev-php/pecl-http/pecl-http-3.2.3.ebuild |
19 |
+++ b/dev-php/pecl-http/pecl-http-3.2.3.ebuild |
20 |
@@ -9,11 +9,11 @@ PHP_EXT_INI="yes" |
21 |
PHP_EXT_ZENDEXT="no" |
22 |
PHP_INI_NAME="50-http" |
23 |
|
24 |
-USE_PHP="php5-6 php7-1 php7-2 php7-3" |
25 |
+USE_PHP="php5-6 php7-1 php7-2 php7-3 php7-4" |
26 |
|
27 |
inherit php-ext-pecl-r3 |
28 |
|
29 |
-USE_PHP="php7-1 php7-2 php7-3" |
30 |
+USE_PHP="php7-1 php7-2 php7-3 php7-4" |
31 |
|
32 |
KEYWORDS="~amd64 ~x86" |
33 |
|
34 |
@@ -24,22 +24,23 @@ IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl" |
35 |
|
36 |
DEPEND="app-arch/brotli:= |
37 |
dev-libs/libevent |
38 |
- dev-php/pecl-propro:7[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?] |
39 |
- dev-php/pecl-raphf:7[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?] |
40 |
+ dev-php/pecl-propro:7[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?,php_targets_php7-4?] |
41 |
+ dev-php/pecl-raphf:7[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?,php_targets_php7-4?] |
42 |
net-dns/libidn2 |
43 |
sys-libs/zlib |
44 |
ssl? ( net-misc/curl[ssl,curl_ssl_gnutls=,curl_ssl_libressl=,curl_ssl_nss=,curl_ssl_openssl=] ) |
45 |
!ssl? ( net-misc/curl[-ssl] ) |
46 |
php_targets_php7-1? ( dev-lang/php:7.1[hash,session,iconv] ) |
47 |
php_targets_php7-2? ( dev-lang/php:7.2[hash,session,iconv] ) |
48 |
- php_targets_php7-3? ( dev-lang/php:7.3[hash,session,iconv] )" |
49 |
+ php_targets_php7-3? ( dev-lang/php:7.3[hash,session,iconv] ) |
50 |
+ php_targets_php7-4? ( dev-lang/php:7.4[session,iconv] )" |
51 |
RDEPEND="${DEPEND} |
52 |
php_targets_php5-6? ( dev-php/pecl-http:2[php_targets_php5-6] )" |
53 |
|
54 |
PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps --without-http-libidn-dir ) |
55 |
|
56 |
src_prepare() { |
57 |
- if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then |
58 |
+ if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then |
59 |
php-ext-source-r3_src_prepare |
60 |
else |
61 |
default_src_prepare |
62 |
@@ -47,7 +48,7 @@ src_prepare() { |
63 |
} |
64 |
|
65 |
src_install() { |
66 |
- if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then |
67 |
+ if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then |
68 |
php-ext-pecl-r3_src_install |
69 |
fi |
70 |
} |