diff --git a/bind.spec b/bind.spec index 0b3f47a..35e9c5c 100644 --- a/bind.spec +++ b/bind.spec @@ -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