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:   05-Sep-2007 20:46:04
  Branch: HEAD                             Handle: 2007090519460400

  Modified files:
    openpkg-src/mutt        mutt.spec

  Log:
    fix build on Linux platforms

  Summary:
    Revision    Changes     Path
    1.96        +4  -1      openpkg-src/mutt/mutt.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/mutt/mutt.spec
  ============================================================================
  $ cvs diff -u -r1.95 -r1.96 mutt.spec
  --- openpkg-src/mutt/mutt.spec        5 Aug 2007 18:46:02 -0000       1.95
  +++ openpkg-src/mutt/mutt.spec        5 Sep 2007 18:46:04 -0000       1.96
  @@ -38,7 +38,7 @@
   Group:        Mail
   License:      BSD
   Version:      %{V_mutt}
  -Release:      20070805
  +Release:      20070905
   
   #   build options
   %option       with_pop       no
  @@ -178,8 +178,10 @@
   %build
       #   configure for particular platform
       options=''
  +    libs=''
       case "%{l_platform -t}" in
           *-freebsd* ) options="--enable-flock --disable-fcntl" ;;
  +        *-linux*   ) libs="-ldl" ;;
       esac
       CC="%{l_cc}" \
       CFLAGS="%{l_cflags -O}" \
  @@ -189,6 +191,7 @@
       CPPFLAGS="%{l_cppflags libidn .}" \
   %endif
       LDFLAGS="-Limap %{l_ldflags}" \
  +    LIBS="$libs" \
       INSTALL="%{l_shtool} install%{l_nil} -c" \
       ./configure \
           --prefix=%{l_prefix} \
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to