commit:     b86e0533bfe57f2889c0b29834f566be0f0ad55f
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 30 12:35:10 2023 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Mon Jul 31 00:49:13 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b86e0533

dev-lang/php: add valgrind support (8.2 slot only).

Closes: https://bugs.gentoo.org/906336
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 dev-lang/php/{php-8.2.8-r1.ebuild => php-8.2.8-r2.ebuild} | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-lang/php/php-8.2.8-r1.ebuild b/dev-lang/php/php-8.2.8-r2.ebuild
similarity index 99%
rename from dev-lang/php/php-8.2.8-r1.ebuild
rename to dev-lang/php/php-8.2.8-r2.ebuild
index 506f0c099e6a..98c074915afd 100644
--- a/dev-lang/php/php-8.2.8-r1.ebuild
+++ b/dev-lang/php/php-8.2.8-r2.ebuild
@@ -39,8 +39,8 @@ IUSE="${IUSE} acl apparmor argon2 avif bcmath berkdb bzip2 
calendar
        oci8-instant-client odbc +opcache pcntl pdo +phar +posix postgres qdbm
        readline selinux +session session-mm sharedmem
        +simplexml snmp soap sockets sodium spell sqlite ssl
-       sysvipc systemd test tidy +tokenizer tokyocabinet truetype unicode webp
-       +xml xmlreader xmlwriter xpm xslt zip zlib"
+       sysvipc systemd test tidy +tokenizer tokyocabinet truetype unicode
+       valgrind webp +xml xmlreader xmlwriter xpm xslt zip zlib"
 
 # Without USE=readline or libedit, the interactive "php -a" CLI will hang.
 # The Oracle instant client provides its own incompatible ldap library.
@@ -118,6 +118,7 @@ COMMON_DEPEND="
        tokyocabinet? ( dev-db/tokyocabinet )
        truetype? ( =media-libs/freetype-2* )
        unicode? ( dev-libs/oniguruma:= )
+       valgrind? ( dev-util/valgrind )
        webp? ( media-libs/libwebp:0= )
        xml? ( >=dev-libs/libxml2-2.9.0 )
        xpm? ( x11-libs/libXpm )
@@ -385,6 +386,7 @@ src_configure() {
                $(use_with zip)
                $(use_with zlib zlib "${EPREFIX}/usr")
                $(use_enable debug)
+               $(use_with valgrind)
        )
 
        # DBA support

Reply via email to