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:   28-Dec-2006 21:48:44
  Branch: HEAD                             Handle: 2006122820484400

  Modified files:
    openpkg-src/milter-regex
                            milter-regex.spec

  Log:
    switch to new 'milter' package and this way support both Sendmail,
    Postfix, etc. (all MTAs which provide MILTER API)

  Summary:
    Revision    Changes     Path
    1.9         +7  -7      openpkg-src/milter-regex/milter-regex.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/milter-regex/milter-regex.spec
  ============================================================================
  $ cvs diff -u -r1.8 -r1.9 milter-regex.spec
  --- openpkg-src/milter-regex/milter-regex.spec        28 Dec 2006 19:17:37 
-0000      1.8
  +++ openpkg-src/milter-regex/milter-regex.spec        28 Dec 2006 20:48:44 
-0000      1.9
  @@ -47,10 +47,10 @@
   #   build information
   Prefix:       %{l_prefix}
   BuildRoot:    %{l_buildroot}
  -BuildPreReq:  OpenPKG, openpkg >= 20040130, byacc, gcc
  +BuildPreReq:  OpenPKG, openpkg >= 20040130, byacc, gcc, pkgconfig
   PreReq:       OpenPKG, openpkg >= 20040130
  -BuildPreReq:  sendmail >= 8.13.0
  -PreReq:       sendmail >= 8.13.0
  +BuildPreReq:  milter
  +PreReq:       milter
   %if "%{with_fsl}" == "yes"
   BuildPreReq:  fsl >= 1.2.0
   PreReq:       fsl >= 1.2.0
  @@ -79,10 +79,10 @@
   %build
       #   build program
       CC="%{l_cc}"
  -    CFLAGS="%{l_cflags -O}"
  -    CPPFLAGS="%{l_cppflags}"
  -    LDFLAGS="%{l_ldflags} %{l_fsl_ldflags}"
  -    LIBS="%{l_fsl_libs} -lmilter"
  +    CFLAGS="%{l_cflags -O} `pkg-config milter --cflags-only-other`"
  +    CPPFLAGS="%{l_cppflags} `pkg-config milter --cflags-only-I`"
  +    LDFLAGS="%{l_ldflags} %{l_fsl_ldflags} `pkg-config milter 
--libs-only-other`"
  +    LIBS="%{l_fsl_libs} `pkg-config milter --libs-only-l`"
       case "%{l_platform -t}" in
           *-freebsd* ) CFLAGS="$CFLAGS -pthread" ;;
           *-linux*   ) CFLAGS="$CFLAGS -pthread" ;;
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to