浏览代码

force usage of sasl2, configure test fails because of dependency to berkeley db

Michael van Elst 23 年之前
父节点
当前提交
9050f7053b
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      openldap/openldap.spec

+ 6 - 1
openldap/openldap.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [PLUS]
 Group:        Database
 License:      GPL
 Version:      2.1.12
-Release:      20030108
+Release:      20030212
 
 #   list of sources
 Source0:      ftp://ftp.openldap.org/pub/openldap/openldap-release/openldap-%{version}.tgz
@@ -58,6 +58,11 @@ AutoReqProv:  no
     %setup -q
 
 %build
+    # hardware configure to use sasl2 library
+    %{l_shtool} subst \
+        -e '4s/.*/ac_cv_lib_sasl2_sasl_client_init=yes/' \
+        configure
+
     CC="%{l_cc}" \
     CFLAGS="%{l_cflags -O}" \
     CPPFLAGS="%{l_cppflags sasl}" \