]> TLD Linux GIT Repositories - packages/php.git/commitdiff
- disable dba, Berkeley DB is no longer available in TLD
authorMarcin Krol <hawk@tld-linux.org>
Sat, 23 May 2026 17:20:45 +0000 (19:20 +0200)
committerMarcin Krol <hawk@tld-linux.org>
Sat, 23 May 2026 17:20:45 +0000 (19:20 +0200)
php.spec

index 0941016ef2c22f8b8cce5535a4ce09eff92baec0..9a438f79bfe1818b9915c99cbb9dcbf2596ceec8 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -19,7 +19,7 @@
 %bcond_without calendar        # without calendar extension module
 %bcond_without ctype           # without ctype extension module
 %bcond_without curl            # without CURL extension module
-%bcond_without dba             # without DBA extension module
+%bcond_with    dba             # without DBA extension module
 %bcond_without dom             # without DOM extension module
 %bcond_without enchant         # without Enchant extension module
 %bcond_without exif            # without EXIF extension module
@@ -180,7 +180,7 @@ BuildRequires:      bison >= 3.0.0
 BuildRequires: bzip2-devel >= 1.0.0
 %{?with_curl:BuildRequires:    curl-devel >= 7.15.5}
 BuildRequires: cyrus-sasl-devel >= 2
-BuildRequires: db-devel >= 4.0
+%{?with_dba:BuildRequires:     db-devel >= 4.0}
 BuildRequires: elfutils-devel
 %{?with_enchant:BuildRequires: enchant-devel >= 1.1.3}
 %if %{with pdo_dblib}