OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   03-Nov-2007 12:25:35
  Branch: HEAD                             Handle: 2007110311253500

  Modified files:
    openpkg-src/openldap    openldap.spec

  Log:
    if OpenLDAP is not built with GNU Pth, we have to disable threading at
    all for now as the use of Pthreads causes potential problems as long
    as our Berkeley-DB is not also built with Pthreads mutexes

  Summary:
    Revision    Changes     Path
    1.208       +3  -0      openpkg-src/openldap/openldap.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/openldap/openldap.spec
  ============================================================================
  $ cvs diff -u -r1.207 -r1.208 openldap.spec
  --- openpkg-src/openldap/openldap.spec        3 Nov 2007 11:11:09 -0000       
1.207
  +++ openpkg-src/openldap/openldap.spec        3 Nov 2007 11:25:35 -0000       
1.208
  @@ -156,6 +156,9 @@
       LIBS="`%{l_prefix}/bin/pth-config --libs` $LIBS"
       ARGS="$ARGS --with-threads=pth"
   %endif
  +%if "%{with_server}" == "yes" && "%{with_pth}" != "yes"
  +    ARGS="$ARGS --with-threads=no"
  +%endif
   
       #   configuration: optional overlay support
   %if "%{with_server}" == "yes" && "%{with_overlays}" == "yes"
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to