1 |
commit: 3f862fcbb7a442ac15113ebc9ba5e948ebfb8131 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 29 13:19:13 2019 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 29 13:19:13 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f862fcb |
7 |
|
8 |
dev-php/pecl-ps: 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-ps/pecl-ps-1.4.1.ebuild | 9 +++++---- |
14 |
1 file changed, 5 insertions(+), 4 deletions(-) |
15 |
|
16 |
diff --git a/dev-php/pecl-ps/pecl-ps-1.4.1.ebuild b/dev-php/pecl-ps/pecl-ps-1.4.1.ebuild |
17 |
index ed4909097c9..816c3d9eec8 100644 |
18 |
--- a/dev-php/pecl-ps/pecl-ps-1.4.1.ebuild |
19 |
+++ b/dev-php/pecl-ps/pecl-ps-1.4.1.ebuild |
20 |
@@ -4,12 +4,12 @@ |
21 |
EAPI="7" |
22 |
|
23 |
PHP_EXT_NAME="ps" |
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 |
# Only really build for >=7.0 |
30 |
-USE_PHP="php7-1 php7-2 php7-3" |
31 |
+USE_PHP="php7-1 php7-2 php7-3 php7-4" |
32 |
|
33 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
34 |
|
35 |
@@ -22,12 +22,13 @@ DEPEND=" |
36 |
php_targets_php7-1? ( dev-libs/pslib ) |
37 |
php_targets_php7-2? ( dev-libs/pslib ) |
38 |
php_targets_php7-3? ( dev-libs/pslib ) |
39 |
+ php_targets_php7-4? ( dev-libs/pslib ) |
40 |
" |
41 |
RDEPEND="${DEPEND} php_targets_php5-6? ( dev-php/pecl-ps:0[php_targets_php5-6] )" |
42 |
PHP_EXT_ECONF_ARGS="" |
43 |
|
44 |
src_prepare() { |
45 |
- if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then |
46 |
+ if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then |
47 |
php-ext-source-r3_src_prepare |
48 |
else |
49 |
default_src_prepare |
50 |
@@ -35,7 +36,7 @@ src_prepare() { |
51 |
} |
52 |
|
53 |
src_install() { |
54 |
- if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then |
55 |
+ if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then |
56 |
php-ext-pecl-r3_src_install |
57 |
fi |
58 |
} |