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

  Server: cvs.openpkg.org                  Name:   Christoph Schug
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   17-Jul-2006 22:36:26
  Branch: OPENPKG_2_5_SOLID                Handle: 2006071721362600

  Modified files:           (Branch: OPENPKG_2_5_SOLID)
    openpkg-src/mutt        mutt.spec

  Log:
    fix 'with_comp' (folder compression feature) build option

  Summary:
    Revision    Changes     Path
    1.67.2.3    +11 -1      openpkg-src/mutt/mutt.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/mutt/mutt.spec
  ============================================================================
  $ cvs diff -u -r1.67.2.2 -r1.67.2.3 mutt.spec
  --- openpkg-src/mutt/mutt.spec        15 Jul 2006 16:27:43 -0000      1.67.2.2
  +++ openpkg-src/mutt/mutt.spec        17 Jul 2006 20:36:26 -0000      1.67.2.3
  @@ -38,7 +38,7 @@
   Group:        Mail
   License:      BSD
   Version:      %{V_mutt}i
  -Release:      2.5.1
  +Release:      2.5.2
   
   #   build options
   %option       with_comp      no
  @@ -130,6 +130,16 @@
               -e '/^diff.*configure\.in /,/^diff/d' \
               -e '/^diff.*acconfig\.h /,/^diff/d' |\
           %{l_patch} -p1
  +
  +    #   add target without requiring autoconf(1) to rebuild Makefile.in
  +    #   from Makefile.am since definitions of the patch are wrongly
  +    #   placed at the very beginning of Makefile.in and get overwritten
  +    #   latter.
  +    %{l_shtool} subst -s \
  +        -e 's;^\(    \| \{8,\}\)\(crypt.c cryptglue.c .*\)$; compress.c \2;' 
\
  +        -e 's;^\(    attach.h buffy.h charset.h \)\(copy.h 
.*\)$;\1compress.h \2;' \
  +        -e 's;^\(    buffy.$(OBJEXT) color.$(OBJEXT) 
\)\(.*\)$;\1compress.$(OBJEXT) \2;' \
  +        Makefile.in
   %endif
   %if "%{with_nntp}" == "yes"
       %{l_gzip} -d -c <%{PATCH1} |\
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to