Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-updates-src > by-pkgid > aacaa2977bdff010028249f0c6fc48d4 > files > 4

postgresql9.3-9.3.20-1.mga5.src.rpm

diff -up postgresql-9.3.5/src/interfaces/libpq/Makefile.0000 postgresql-9.3.5/src/interfaces/libpq/Makefile
--- postgresql-9.3.5/src/interfaces/libpq/Makefile.0000	2014-07-21 21:10:42.000000000 +0200
+++ postgresql-9.3.5/src/interfaces/libpq/Makefile	2014-11-22 09:03:10.593971177 +0100
@@ -16,8 +16,7 @@ include $(top_builddir)/src/Makefile.glo
 
 # shared library parameters
 NAME= pq
-SO_MAJOR_VERSION= 5
-SO_MINOR_VERSION= 6
+SO_MAJOR_VERSION= 5.6
 
 override CPPFLAGS :=  -DFRONTEND -DUNSAFE_STAT_OK -I$(srcdir) $(CPPFLAGS) -I$(top_builddir)/src/port -I$(top_srcdir)/src/port
 ifneq ($(PORTNAME), win32)
@@ -78,7 +77,7 @@ SHLIB_EXPORTS = exports.txt
 all: all-lib
 
 # Shared library stuff
-include $(top_srcdir)/src/Makefile.shlib
+include $(top_srcdir)/src/Makefile.libpq.shlib
 backend_src = $(top_srcdir)/src/backend
 
 
diff -up postgresql-9.3.5/src/Makefile.libpq.shlib.0000 postgresql-9.3.5/src/Makefile.libpq.shlib
--- postgresql-9.3.5/src/Makefile.libpq.shlib.0000	2014-11-22 09:03:10.595971158 +0100
+++ postgresql-9.3.5/src/Makefile.libpq.shlib	2014-11-22 09:14:49.312512781 +0100
@@ -81,7 +81,7 @@ LINK.static = $(AR) $(AROPT)
 
 ifdef SO_MAJOR_VERSION
 # Default library naming convention used by the majority of platforms
-shlib		= lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
+shlib		= lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
 shlib_major	= lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
 shlib_bare	= lib$(NAME)$(DLSUFFIX)
 # Testing the soname variable is a reliable way to determine whether a