Skip to content

Commit

Permalink
dev-php/pecl-memcached: Add 7.1 and 7.2 USE to SLOT 0 ebuild
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.16, Repoman-2.3.6
  • Loading branch information
Brian Evans committed Dec 4, 2017
1 parent 877391d commit bef55a5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions dev-php/pecl-memcached/pecl-memcached-2.2.0-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ PHP_EXT_INI="yes"
PHP_EXT_ZENDEXT="no"
DOCS=( ChangeLog README.markdown )

USE_PHP="php5-6 php7-0"
USE_PHP="php5-6 php7-0 php7-1 php7-2"

inherit php-ext-pecl-r3

Expand All @@ -27,7 +27,11 @@ DEPEND="php_targets_php5-6? (
igbinary? ( dev-php/igbinary[php_targets_php5-6?] )
)"
RDEPEND="${DEPEND}"
PDEPEND="php_targets_php7-0? ( dev-php/pecl-memcached:7[php_targets_php7-0] )"
PDEPEND="
php_targets_php7-0? ( dev-php/pecl-memcached:7[php_targets_php7-0] )
php_targets_php7-1? ( dev-php/pecl-memcached:7[php_targets_php7-1] )
php_targets_php7-2? ( dev-php/pecl-memcached:7[php_targets_php7-2] )
"

src_prepare(){
if use php_targets_php5-6 ; then
Expand Down

0 comments on commit bef55a5

Please sign in to comment.