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: 04-Jul-2008 14:05:07
Branch: HEAD Handle: 2008070413050700
Modified files:
openpkg-src/postgresql postgresql.spec
Log:
forward port with_conversion option
Summary:
Revision Changes Path
1.269 +11 -1 openpkg-src/postgresql/postgresql.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/postgresql/postgresql.spec
============================================================================
$ cvs diff -u -r1.268 -r1.269 postgresql.spec
--- openpkg-src/postgresql/postgresql.spec 12 Jun 2008 06:43:27 -0000
1.268
+++ openpkg-src/postgresql/postgresql.spec 4 Jul 2008 12:05:07 -0000
1.269
@@ -48,7 +48,7 @@
Group: Database
License: GPL
Version: %{V_postgresql}
-Release: 20080612
+Release: 20080704
# package options
%option with_server yes
@@ -64,6 +64,7 @@
%option with_mysqlcompat no
%option with_int_datetime no
%option with_xml no
+%option with_conversion no
# list of sources
Source0:
ftp://ftp.postgresql.org/pub/source/v%{V_postgresql_dir}/postgresql-%{V_postgresql_dist}.tar.bz2
@@ -230,9 +231,18 @@
%{l_shtool} subst \
-e 's;^\(sqlmansect *=\).*$;\1 7;' \
src/makefiles/Makefile.solaris
+%if "%{with_conversion}" == "yes"
+ %{l_shtool} subst \
+ -e '/^SQLSCRIPT =/{x;s/.*/enable_shared = yes/;G;}' \
+ src/backend/utils/mb/conversion_procs/Makefile
+ %{l_shtool} subst \
+ -e '/^all:/{x;s/.*/enable_shared = yes/;G;}' \
+ 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]