]> TLD Linux GIT Repositories - packages/php.git/commitdiff
- re-enable dba with lmdb backend PHP_8_2
authorMarcin Krol <hawk@tld-linux.org>
Sun, 24 May 2026 15:10:00 +0000 (17:10 +0200)
committerMarcin Krol <hawk@tld-linux.org>
Sun, 24 May 2026 15:10:00 +0000 (17:10 +0200)
php.spec

index 97c98182a8b407aac488a53d3c1020693a52c9eb..673e3819317f2b878b3e6d395897c3c765195cb9 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -182,7 +182,6 @@ BuildRequires:      bison >= 3.0.0
 BuildRequires: bzip2-devel >= 1.0.0
 %{?with_curl:BuildRequires:    curl-devel >= 7.15.5}
 BuildRequires: cyrus-sasl-devel >= 2
-%{?with_dba:BuildRequires:     db-devel >= 4.0}
 BuildRequires: elfutils-devel
 %{?with_enchant:BuildRequires: enchant-devel >= 1.1.3}
 %if %{with pdo_dblib}
@@ -212,6 +211,7 @@ BuildRequires:      libtool >= 2:2.4.6
 BuildRequires: libxml2-devel >= 1:2.7.6-4
 %{?with_xsl:BuildRequires:     libxslt-devel >= 1.1.0}
 %{?with_zip:BuildRequires:     libzip-devel >= 1.3.1}
+%{?with_dba:BuildRequires:     lmdb-devel}
 %{?with_snmp:%{?with_tests:BuildRequires:      mibs-net-snmp}}
 %{?with_mm:BuildRequires:      mm-devel >= 1.3.0}
 %{!?with_mysqli:BuildRequires: mysql-devel}
@@ -2156,7 +2156,6 @@ for sapi in $sapis; do
        --enable-xmlreader=shared \
        %{__with_without bzip2 bz2 shared} \
        %{__with_without curl curl shared} \
-       --with-db4 \
        %{__with_without iconv iconv shared} \
        %{?with_enchant:--with-enchant=shared} \
        --with-freetype \
@@ -2169,6 +2168,7 @@ for sapi in $sapis; do
        %{?with_imap:--with-imap=shared --with-imap-ssl} \
        --with-jpeg \
        %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
+       --with-lmdb \
        %{?with_mm:--with-mm} \
        %{?with_mysqlnd:--enable-mysqlnd=shared} \
        %{?with_mysqli:--with-mysqli=shared,%{!?with_mysqlnd:/usr/bin/mysql_config}%{?with_mysqlnd:mysqlnd}} \