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:   07-Dec-2004 14:37:44
  Branch: HEAD                             Handle: 2004120713374400

  Modified files:
    openpkg-src/bogofilter  bogofilter.spec

  Log:
    conditionally specify missing realtime functions library

  Summary:
    Revision    Changes     Path
    1.67        +9  -1      openpkg-src/bogofilter/bogofilter.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/bogofilter/bogofilter.spec
  ============================================================================
  $ cvs diff -u -r1.66 -r1.67 bogofilter.spec
  --- openpkg-src/bogofilter/bogofilter.spec    4 Dec 2004 08:02:38 -0000       
1.66
  +++ openpkg-src/bogofilter/bogofilter.spec    7 Dec 2004 13:37:44 -0000       
1.67
  @@ -34,7 +34,7 @@
   Group:        Text
   License:      GPL
   Version:      0.93.2
  -Release:      20041204
  +Release:      20041207
   
   #   list of sources
   Source0:      
http://osdn.dl.sourceforge.net/sourceforge/bogofilter/bogofilter-%{version}.tar.bz2
  @@ -65,12 +65,20 @@
   
   %prep
       %setup -q
  +    case "%{l_platform -t}" in
  +        *-sunos* )
  +            %{l_shtool} subst \
  +                -e 's;\(LIBDB="[^"]*\)"$;\1 -lrt";' \
  +                configure
  +            ;;
  +    esac
   
   %build
       CC="%{l_cc}" \
       CFLAGS="%{l_cflags -O}" \
       CPPFLAGS="%{l_cppflags}" \
       LDFLAGS="%{l_ldflags}" \
  +    LIBS="$LIBS$extlibs" \
       ./configure \
           --prefix=%{l_prefix} \
           --sysconfdir=%{l_prefix}/etc/bogofilter \
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to