Author: qboosh                       Date: Mon Sep 19 20:28:19 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- it builds with postgresql support by default
- added bcond to enable mysql (not tested)

---- Files affected:
SPECS:
   apr-util.spec (1.28 -> 1.29) 

---- Diffs:

================================================================
Index: SPECS/apr-util.spec
diff -u SPECS/apr-util.spec:1.28 SPECS/apr-util.spec:1.29
--- SPECS/apr-util.spec:1.28    Mon Sep  5 18:34:48 2005
+++ SPECS/apr-util.spec Mon Sep 19 22:28:14 2005
@@ -2,6 +2,8 @@
 #
 # Conditional build:
 %bcond_without ldap    # without LDAP support
+%bcond_with    mysql   # with MySQL support
+%bcond_without pgsql   # without PostgreSQL support
 %bcond_with    sqlite  # with SQLite 2.x support
 %bcond_without sqlite3 # without SQLite3 support
 #
@@ -23,7 +25,9 @@
 BuildRequires: expat-devel
 BuildRequires: gdbm-devel
 BuildRequires: libtool
+%{?with_mysql:BuildRequires:   mysql-devel}
 %{?with_ldap:BuildRequires:    openldap-devel}
+%{?with_pgsql:BuildRequires:   postgresql-devel}
 %{?with_sqlite:BuildRequires:  sqlite-devel >= 2}
 %{?with_sqlite3:BuildRequires: sqlite3-devel >= 3}
 Requires:      apr >= 1:1.1.0
@@ -47,7 +51,9 @@
 Requires:      db-devel
 Requires:      expat-devel
 Requires:      gdbm-devel
+%{?with_mysql:Requires:        mysql-devel}
 %{?with_ldap:Requires: openldap-devel}
+%{?with_pgsql:Requires:        postgresql-devel}
 %{?with_sqlite:Requires:       sqlite-devel >= 2}
 %{?with_sqlite3:Requires:      sqlite3-devel >= 3}
 
@@ -88,6 +94,8 @@
        --with-ldap-lib=%{_libdir} \
 %endif
        --with-iconv=%{_prefix} \
+       %{?with_mysql:--with-mysql} \
+       %{!?with_pgsql:--without-pgsql} \
        %{!?with_sqlite:--without-sqlite2} \
        %{!?with_sqlite3:--without-sqlite3}
 
@@ -129,6 +137,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.29  2005/09/19 20:28:14  qboosh
+- it builds with postgresql support by default
+- added bcond to enable mysql (not tested)
+
 Revision 1.28  2005/09/05 16:34:48  qboosh
 - sqlite2 off by default
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/apr-util.spec?r1=1.28&r2=1.29&f=u

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to