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

index 91e34ea3d92bee787c937e0f35cc8d1c84a6f148..00574b416d48976c0de8396a4a4d07d6a2d3b4ac 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -18,7 +18,7 @@
 %bcond_without calendar        # calendar extension module
 %bcond_without ctype           # ctype extension module
 %bcond_without curl            # CURL extension module
-%bcond_with    dba             # DBA extension module
+%bcond_without dba             # DBA extension module
 %bcond_without dom             # DOM extension module
 %bcond_without enchant         # Enchant extension module
 %bcond_without exif            # EXIF extension module
@@ -168,7 +168,6 @@ BuildRequires:      bzip2-devel >= 1.0.0
 BuildRequires: capstone-devel
 %{?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}
@@ -196,6 +195,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}
@@ -2051,7 +2051,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 \
@@ -2063,6 +2062,7 @@ for sapi in $sapis; do
        %{__with_without ffi ffi shared} \
        --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}} \