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:   21-Sep-2005 20:22:44
  Branch: HEAD                             Handle: 2005092119224400

  Modified files:
    openpkg-src/sqlite      sqlite.spec

  Log:
    fix building under with_readline on platform where no termcap exists
    (usually those with just termlib environments)

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

  patch -p0 <<'@@ .'
  Index: openpkg-src/sqlite/sqlite.spec
  ============================================================================
  $ cvs diff -u -r1.95 -r1.96 sqlite.spec
  --- openpkg-src/sqlite/sqlite.spec    18 Sep 2005 18:35:51 -0000      1.95
  +++ openpkg-src/sqlite/sqlite.spec    21 Sep 2005 18:22:44 -0000      1.96
  @@ -37,7 +37,7 @@
   Group:        Database
   License:      PD
   Version:      %{V_v2}
  -Release:      20050918
  +Release:      20050921
   
   #   package options
   %option       with_v3              yes
  @@ -57,7 +57,7 @@
   BuildPreReq:  OpenPKG, openpkg >= 20040130, make
   PreReq:       OpenPKG, openpkg >= 20040130
   %if "%{with_readline}" == "yes"
  -BuildPreReq:  readline
  +BuildPreReq:  readline, pkgconfig
   PreReq:       readline
   %endif
   %if "%{with_v3}" == "yes"
  @@ -131,9 +131,9 @@
             CFLAGS="$CFLAGS -DNDEBUG=1"
   %endif
   %if "%{with_readline}" == "yes"
  -          config_TARGET_READLINE_INC="%{l_cppflags readline}"
  +          config_TARGET_READLINE_INC="%{l_cppflags readline} 
`%{l_prefix}/bin/pkg-config --cflags readline`"
             export config_TARGET_READLINE_INC
  -          config_TARGET_READLINE_LIBS="%{l_ldflags} -lreadline -ltermcap"
  +          config_TARGET_READLINE_LIBS="%{l_ldflags} 
`%{l_prefix}/bin/pkg-config --libs readline`"
             export config_TARGET_READLINE_LIBS
   %endif
             ./configure \
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to