ソースを参照

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}" \