improve sql libraries detection

This commit is contained in:
Petr Lautrbach 2013-11-15 13:50:21 +01:00
parent b02afc8cab
commit 7fd305bb81
2 changed files with 2300 additions and 1 deletions

2296
cyrus-sasl-2.1.26-sql.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -48,6 +48,8 @@ Patch49: cyrus-sasl-2.1.26-md5global.patch
# revert upstream commit 080e51c7fa0421eb2f0210d34cf0ac48a228b1e9 (#984079)
# https://bugzilla.cyrusimap.org/show_bug.cgi?id=3480
Patch50: cyrus-sasl-2.1.26-revert-upstream-080e51c7fa0421eb2f0210d34cf0ac48a228b1e9.patch
# improve sql libraries detection
Patch51: cyrus-sasl-2.1.26-sql.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: autoconf, automake, libtool, gdbm-devel, groff
@ -189,6 +191,7 @@ chmod -x include/*.h
%patch48 -p1 -b .keytab
%patch49 -p1 -b .md5global.h
%patch50 -p1 -b .gssapi
%patch51 -p1 -b .sql
%build
# Find Kerberos.
@ -268,7 +271,7 @@ echo "$LDFLAGS"
%if ! %{bootstrap_cyrus_sasl}
--enable-ldapdb \
%endif
--enable-sql --with-mysql=%{_libdir} --with-pgsql=%{_libdir} \
--enable-sql --with-mysql=yes --with-pgsql=yes \
--without-sqlite \
"$@"
# --enable-auth-sasldb -- EXPERIMENTAL