]> 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:21:21 +0000 (19:21 +0200)
committerMarcin Krol <hawk@tld-linux.org>
Sat, 23 May 2026 17:21:21 +0000 (19:21 +0200)
php.spec

index 18ae0356281f8200e7ca13cbb4574e89b66932ef..97c98182a8b407aac488a53d3c1020693a52c9eb 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
@@ -182,7 +182,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}