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

  Server: cvs.openpkg.org                  Name:   Michael van Elst
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   06-Aug-2003 22:27:06
  Branch: HEAD                             Handle: 2003080621270500

  Modified files:
    openpkg-src/gcrypt      gcrypt.spec

  Log:
    provide compatibility hack, but API change still breaks things like
    gnutls

  Summary:
    Revision    Changes     Path
    1.20        +8  -0      openpkg-src/gcrypt/gcrypt.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/gcrypt/gcrypt.spec
  ============================================================================
  $ cvs diff -u -r1.19 -r1.20 gcrypt.spec
  --- openpkg-src/gcrypt/gcrypt.spec    6 Aug 2003 18:33:00 -0000       1.19
  +++ openpkg-src/gcrypt/gcrypt.spec    6 Aug 2003 20:27:05 -0000       1.20
  @@ -47,6 +47,8 @@
   BuildRoot:    %{l_buildroot}
   BuildPreReq:  OpenPKG, openpkg >= 20020206, make, gcc
   PreReq:       OpenPKG, openpkg >= 20020206
  +BuildPreReq:  libiconv, gettext
  +PreReq:       libiconv, gettext
   AutoReq:      no
   AutoReqProv:  no
   
  @@ -94,6 +96,12 @@
       ( cd libgcrypt-%{V_gcrypt}
         %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
       ) || exit $?
  +
  +    #   fixup gcrypt config script for compatibility
  +    %{l_shtool} subst \
  +        -e 's;^libs=.*;libs="-lgcrypt -lgpg-error -lintl -liconv";' \
  +        $RPM_BUILD_ROOT%{l_prefix}/bin/libgcrypt-config
  +
       rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir
       %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
           %{l_files_std} \
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to