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:   16-Apr-2007 21:59:47
  Branch: HEAD                             Handle: 2007041620594601

  Modified files:
    openpkg-src/apache      apache.spec
    openpkg-src/php         php.spec

  Log:
    make sure PHP detects our PostgreSQL 8.x as such and not as an ancient
    PostgreSQL 6.x. This especially makes sure all the additional PHP
    functions like pg_escape_string() are available.

  Summary:
    Revision    Changes     Path
    1.398       +4  -1      openpkg-src/apache/apache.spec
    1.149       +4  -1      openpkg-src/php/php.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/apache/apache.spec
  ============================================================================
  $ cvs diff -u -r1.397 -r1.398 apache.spec
  --- openpkg-src/apache/apache.spec    15 Apr 2007 16:13:05 -0000      1.397
  +++ openpkg-src/apache/apache.spec    16 Apr 2007 19:59:46 -0000      1.398
  @@ -68,7 +68,7 @@
   Group:        Web
   License:      ASF
   Version:      %{V_apache}
  -Release:      20070415
  +Release:      20070416
   
   #   package options (Apache core related)
   %option       with_hard_server_limit    256
  @@ -785,6 +785,9 @@
   %if "%{with_mod_php_bdb}" == "yes"
         LIBS="$LIBS -ldb"
   %endif
  +%if "%{with_mod_php_pgsql}" == "yes"
  +      LIBS="$LIBS `pg_config --libs`"
  +%endif
   %if "%{with_mod_php_oci8}" == "yes"
         ORACLE_HOME="`%{l_rc} --query oracle_home`"
         export ORACLE_HOME
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/php/php.spec
  ============================================================================
  $ cvs diff -u -r1.148 -r1.149 php.spec
  --- openpkg-src/php/php.spec  12 Apr 2007 07:55:50 -0000      1.148
  +++ openpkg-src/php/php.spec  16 Apr 2007 19:59:47 -0000      1.149
  @@ -39,7 +39,7 @@
   Group:        Language
   License:      PHP
   Version:      %{V_php}
  -Release:      20070412
  +Release:      20070416
   
   #   package options
   %option       with_suhosin              no
  @@ -321,6 +321,9 @@
   %if "%{with_bdb}" == "yes"
       libs="$libs -ldb"
   %endif
  +%if "%{with_pgsql}" == "yes"
  +    libs="$libs `pg_config --libs`"
  +%endif
   %if "%{with_oci8}" == "yes"
       ORACLE_HOME="`%{l_rc} --query oracle_home`"
       export ORACLE_HOME
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to