OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Torsten Homeyer
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   08-May-2008 15:08:03
  Branch: HEAD                             Handle: 2008050814080200

  Modified files:
    openpkg-src/postgresql82
                            postgresql82.spec

  Log:
    first cut adding optional character set conversion support

  Summary:
    Revision    Changes     Path
    1.18        +11 -1      openpkg-src/postgresql82/postgresql82.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/postgresql82/postgresql82.spec
  ============================================================================
  $ cvs diff -u -r1.17 -r1.18 postgresql82.spec
  --- openpkg-src/postgresql82/postgresql82.spec        14 Apr 2008 10:57:19 
-0000      1.17
  +++ openpkg-src/postgresql82/postgresql82.spec        8 May 2008 13:08:02 
-0000       1.18
  @@ -46,7 +46,7 @@
   Group:        Database
   License:      GPL
   Version:      %{V_postgresql}
  -Release:      20080414
  +Release:      20080508
   
   #   package options
   %option       with_server       yes
  @@ -61,6 +61,7 @@
   %option       with_kerberos     no
   %option       with_mysqlcompat  no
   %option       with_int_datetime no
  +%option       with_conversion   no
   
   #   list of sources
   Source0:      
ftp://ftp.postgresql.org/pub/source/v%{V_postgresql}/postgresql-%{V_postgresql}.tar.bz2
  @@ -224,9 +225,18 @@
       %{l_shtool} subst \
           -e 's;^\(sqlmansect *=\).*$;\1 7;' \
           src/makefiles/Makefile.solaris
  +%if "%{with_conversion}" == "yes"
  +    %{l_shtool} subst \
  +        -e 's;^SQLSCRIPT =;enable_shared = yes\n\nSQLSCRIPT =;' \
  +        src/backend/utils/mb/conversion_procs/Makefile
  +    %{l_shtool} subst \
  +        -e 's;^all:;enable_shared = yes\n\nall:;' \
  +        src/backend/utils/mb/conversion_procs/proc.mk
  +%else
       %{l_shtool} subst \
           -e 's;$(INSTALL_SHLIB);#$(INSTALL_SHLIB);g' \
           src/backend/utils/mb/conversion_procs/proc.mk
  +%endif
       %{l_shtool} subst \
           -e 's;# Shared library stuff;enable_shared = yes;g' \
           src/pl/plpgsql/src/Makefile
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to