openbsd-ports/databases/postgresql/patches/patch-src_interfaces_libpq_Makefile
pea b39c6fccaa Major update to PostgreSQL 9.2.1.
As usual a dump/restore is required.

ok jasper@ jeremy@ landry@
2012-09-24 19:57:02 +00:00

15 lines
575 B
Plaintext

$OpenBSD: patch-src_interfaces_libpq_Makefile,v 1.9 2012/09/24 19:57:02 pea Exp $
--- src/interfaces/libpq/Makefile.orig Fri May 11 00:35:09 2012
+++ src/interfaces/libpq/Makefile Tue May 15 10:27:11 2012
@@ -16,8 +16,8 @@ include $(top_builddir)/src/Makefile.global
# shared library parameters
NAME= pq
-SO_MAJOR_VERSION= 5
-SO_MINOR_VERSION= 5
+SO_MAJOR_VERSION= ${LIBpq_MAJOR}
+SO_MINOR_VERSION= ${LIBpq_MINOR}
override CPPFLAGS := -DFRONTEND -DUNSAFE_STAT_OK -I$(srcdir) $(CPPFLAGS) -I$(top_builddir)/src/port -I$(top_srcdir)/src/port
ifneq ($(PORTNAME), win32)