diff options
author | Sam James <sam@gentoo.org> | 2024-01-18 07:35:13 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-01-18 07:36:13 +0000 |
commit | bc4be3473afc1a1992475fd58df256bde6df7fcb (patch) | |
tree | 5668c6cda69fc1abdf774e8d7f8ba1f9868d11b1 /dev-php/pecl-memcache | |
parent | dev-ruby/open4: enable ruby33 (diff) | |
download | gentoo-bc4be3473afc1a1992475fd58df256bde6df7fcb.tar.gz gentoo-bc4be3473afc1a1992475fd58df256bde6df7fcb.tar.bz2 gentoo-bc4be3473afc1a1992475fd58df256bde6df7fcb.zip |
dev-php/pecl-memcache: fix php8-0 removal
Closes: https://bugs.gentoo.org/921303
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-php/pecl-memcache')
-rw-r--r-- | dev-php/pecl-memcache/pecl-memcache-8.0-r1.ebuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dev-php/pecl-memcache/pecl-memcache-8.0-r1.ebuild b/dev-php/pecl-memcache/pecl-memcache-8.0-r1.ebuild index fad568565135..40bb1203cafe 100644 --- a/dev-php/pecl-memcache/pecl-memcache-8.0-r1.ebuild +++ b/dev-php/pecl-memcache/pecl-memcache-8.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -28,7 +28,7 @@ RESTRICT='test' PATCHES=( "${FILESDIR}/8.0-patches-20211123.patch" ) src_prepare() { - if use php_targets_php8-0 || use php_targets_php8-1 ; then + if use php_targets_php8-1 ; then php-ext-source-r3_src_prepare else default @@ -36,14 +36,14 @@ src_prepare() { } src_configure() { - if use php_targets_php8-0 || use php_targets_php8-1 ; then + if use php_targets_php8-1 ; then local PHP_EXT_ECONF_ARGS=( --enable-memcache --with-zlib-dir="${EPREFIX}/usr" $(use_enable session memcache-session) ) php-ext-source-r3_src_configure fi } src_install() { - if use php_targets_php8-0 || use php_targets_php8-1 ; then + if use php_targets_php8-1 ; then php-ext-pecl-r3_src_install php-ext-source-r3_addtoinifiles "memcache.allow_failover" "true" |