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

  Server: cvs.openpkg.org                  Name:   Michael Schloh
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   24-Jan-2005 18:47:33
  Branch: HEAD                             Handle: 2005012417473200

  Modified files:
    openpkg-src/openldap    openldap.spec

  Log:
    fdatasync(3) is in librt on Solaris platforms, so don't mistakenly
    look in libc

  Summary:
    Revision    Changes     Path
    1.130       +8  -2      openpkg-src/openldap/openldap.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/openldap/openldap.spec
  ============================================================================
  $ cvs diff -u -r1.129 -r1.130 openldap.spec
  --- openpkg-src/openldap/openldap.spec        23 Jan 2005 19:22:46 -0000      
1.129
  +++ openpkg-src/openldap/openldap.spec        24 Jan 2005 17:47:32 -0000      
1.130
  @@ -34,7 +34,7 @@
   Group:        Database
   License:      GPL
   Version:      2.2.22
  -Release:      20050123
  +Release:      20050124
   
   #   package options
   %option       with_fsl   yes
  @@ -101,11 +101,17 @@
   %else
       cf="%{l_cppflags}"
   %endif
  +    LOCLIBS=""
  +    case "%{l_platform -t}" in
  +        *-sunos* )
  +            LOCLIBS="-lrt"
  +        ;;
  +    esac
       CC="%{l_cc}" \
       CFLAGS="%{l_cflags -O} `%{l_prefix}/bin/pth-config --cflags`" \
       CPPFLAGS="$cf -I`%{l_prefix}/bin/pth-config --includedir`" \
       LDFLAGS="%{l_ldflags} `%{l_prefix}/bin/pth-config --ldflags` 
%{l_fsl_ldflags}" \
  -    LIBS="`%{l_prefix}/bin/pth-config --libs` %{l_fsl_libs}" \
  +    LIBS="`%{l_prefix}/bin/pth-config --libs` %{l_fsl_libs} $LOCLIBS" \
       ./configure \
           --cache-file=./config.cache \
           --prefix=%{l_prefix} \
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to