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

index 5f3f9fef6eedc676173c5ae59672b0fbae1d25bf..d362497140cecc2c9103a327f0025949c013739c 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
@@ -166,7 +166,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}
@@ -194,6 +193,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}
@@ -2023,7 +2023,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 \
@@ -2035,6 +2034,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}} \