]> git.pld-linux.org Git - packages/php.git/commitdiff
- added bcond _with_db3 to build with db3.
authorcieciwa <cieciwa@pld-linux.org>
Thu, 31 Oct 2002 17:05:19 +0000 (17:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php.spec -> 1.222

php.spec

index c1247f6feaf0b85ef20725ba62c3630775aa4ec8..dacf2471811456050d4b7001ae42355581e4d332 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -15,6 +15,7 @@
 %endif
 
 # Conditional build:
+# _with_db3            - with DB3 support, if not - requires db.
 # _with_interbase      - with InterBase extension module       (BR: proprietary libs)
 # _with_java           - with Java extension module            (BR: jdk)
 # _with_oci8           - with Oracle oci8 extension module     (BR: proprietary libs)
@@ -53,7 +54,7 @@ Summary(ru):  PHP 
 Summary(uk):   PHP ÷ÅÒÓ¦§ 4 -- ÍÏ×Á ÐÒÅÐÒÏÃÅÓÕ×ÁÎÎÑ HTML-ÆÁÊ̦×, ×ÉËÏÎÕ×ÁÎÁ ÎÁ ÓÅÒ×ÅÒ¦
 Name:          php
 Version:       4.2.3
-Release:       8
+Release:       9
 Epoch:         3
 Group:         Libraries
 License:       PHP
@@ -99,7 +100,8 @@ BuildRequires:       bzip2-devel
 BuildRequires: cracklib-devel >= 2.7-15
 %{!?_without_curl:BuildRequires:       curl-devel}
 BuildRequires: cyrus-sasl-devel
-BuildRequires: db3-devel >= 3.1.17
+%{?_with_db3:BuildRequires:    db3-devel}
+%{!?_with_db3:BuildRequires:   db-devel}
 %if %(expr %{?_without_xml:0}%{!?_without_xml:1} + %{?_without_xmlrpc:0}%{!?_without_xmlrpc:1})
 BuildRequires: expat-devel
 %endif
@@ -1398,7 +1400,7 @@ for i in cgi apxs ; do
        --with-crack=shared \
        %{?_without_curl:--without-curl}%{!?_without_curl:--with-curl=shared} \
        --without-db2 \
-       --with-db3 \
+       %{?_with_db3:--with-db3} \
        --with-dbase=shared \
        --with-dom=shared \
        %{!?_without_domxslt:--with-dom-xslt=shared --with-dom-exslt=shared} \
This page took 0.049234 seconds and 4 git commands to generate.