Blame SOURCES/postgresql-major.patch

7686b4
We really don't want applications build against core system
7686b4
libraries to be linked with libraries from the collection.
7686b4
Therefore we change major version number of the libraries
7686b4
in the collection by prefixing the soname with collection name.
7686b4
7686b4
diff -up postgresql-9.2.4/src/interfaces/ecpg/compatlib/Makefile.major postgresql-9.2.4/src/interfaces/ecpg/compatlib/Makefile
7686b4
--- postgresql-9.2.4/src/interfaces/ecpg/compatlib/Makefile.major	2013-05-02 14:35:05.244198641 +0200
7686b4
+++ postgresql-9.2.4/src/interfaces/ecpg/compatlib/Makefile	2013-05-02 14:37:12.298242792 +0200
7686b4
@@ -14,7 +14,7 @@ top_builddir = ../../../..
7686b4
 include $(top_builddir)/src/Makefile.global
7686b4
 
7686b4
 NAME= ecpg_compat
7686b4
-SO_MAJOR_VERSION= 3
7686b4
+SO_MAJOR_VERSION= __SCL_NAME__-3
7686b4
 SO_MINOR_VERSION= 4
7686b4
 
7686b4
 override CPPFLAGS := -I../include -I$(top_srcdir)/src/interfaces/ecpg/include \
7686b4
diff -up postgresql-9.2.4/src/interfaces/ecpg/ecpglib/Makefile.major postgresql-9.2.4/src/interfaces/ecpg/ecpglib/Makefile
7686b4
--- postgresql-9.2.4/src/interfaces/ecpg/ecpglib/Makefile.major	2013-05-02 14:35:15.684202269 +0200
7686b4
+++ postgresql-9.2.4/src/interfaces/ecpg/ecpglib/Makefile	2013-05-02 14:37:26.898247866 +0200
7686b4
@@ -14,7 +14,7 @@ top_builddir = ../../../..
7686b4
 include $(top_builddir)/src/Makefile.global
7686b4
 
7686b4
 NAME= ecpg
7686b4
-SO_MAJOR_VERSION= 6
7686b4
+SO_MAJOR_VERSION= __SCL_NAME__-6
7686b4
 SO_MINOR_VERSION= 4
7686b4
 
7686b4
 override CPPFLAGS := -I../include -I$(top_srcdir)/src/interfaces/ecpg/include \
7686b4
diff -up postgresql-9.2.4/src/interfaces/ecpg/pgtypeslib/Makefile.major postgresql-9.2.4/src/interfaces/ecpg/pgtypeslib/Makefile
7686b4
--- postgresql-9.2.4/src/interfaces/ecpg/pgtypeslib/Makefile.major	2013-05-02 14:34:31.993187086 +0200
7686b4
+++ postgresql-9.2.4/src/interfaces/ecpg/pgtypeslib/Makefile	2013-05-02 14:36:53.138236134 +0200
7686b4
@@ -14,7 +14,7 @@ top_builddir = ../../../..
7686b4
 include $(top_builddir)/src/Makefile.global
7686b4
 
7686b4
 NAME= pgtypes
7686b4
-SO_MAJOR_VERSION= 3
7686b4
+SO_MAJOR_VERSION= __SCL_NAME__-3
7686b4
 SO_MINOR_VERSION= 3
7686b4
 
7686b4
 override CPPFLAGS := -I../include -I$(top_srcdir)/src/interfaces/ecpg/include \
7686b4
diff -up postgresql-9.2.4/src/interfaces/libpq/Makefile.major postgresql-9.2.4/src/interfaces/libpq/Makefile
7686b4
--- postgresql-9.2.4/src/interfaces/libpq/Makefile.major	2013-04-01 20:20:36.000000000 +0200
7686b4
+++ postgresql-9.2.4/src/interfaces/libpq/Makefile	2013-05-02 14:32:04.496135831 +0200
7686b4
@@ -16,7 +16,7 @@ include $(top_builddir)/src/Makefile.glo
7686b4
 
7686b4
 # shared library parameters
7686b4
 NAME= pq
7686b4
-SO_MAJOR_VERSION= 5
7686b4
+SO_MAJOR_VERSION= __SCL_NAME__-5
7686b4
 SO_MINOR_VERSION= 5
7686b4
 
7686b4
 override CPPFLAGS :=  -DFRONTEND -DUNSAFE_STAT_OK -I$(srcdir) $(CPPFLAGS) -I$(top_builddir)/src/port -I$(top_srcdir)/src/port