More fixes to compile DLZ

This commit is contained in:
Petr Menšík 2019-02-12 22:09:48 +01:00
parent de8fa0799a
commit 1da60a891a
1 changed files with 6 additions and 1 deletions

View File

@ -641,6 +641,9 @@ export LIBDIR_SUFFIX
--with-dlz-filesystem=yes \
--with-dlz-bdb=yes \
%endif
%if %{with DLZ}
--with-dlz-bdb=yes \
%endif
%if %{with GSSTSIG}
--with-gssapi=yes \
--disable-isc-spnego \
@ -941,9 +944,10 @@ install -m 644 %{SOURCE12} contrib/sdb/pgsql/
%endif
%if %{with DLZ}
pushd build
pushd contrib/dlz
pushd bin/dlzbdb
make DESTDIR=${RPM_BUILD_ROOT} install
make DESTDIR=${RPM_BUILD_ROOT} install
popd
pushd modules
for DIR in bdbhpt filesystem ldap mysql mysqldyn sqlite3; do
@ -952,6 +956,7 @@ install -m 644 %{SOURCE12} contrib/sdb/pgsql/
mv mysqldyn/testing/README mysqldyn/testing/README.testing
popd
popd
popd
%endif
# Install isc/errno2result.h header