openbsd-ports/databases/postgresql/patches/patch-src_interfaces_libpq_Makefile
pea ed27f8a671 Major upgrade to PostgreSQL 9.1.0
A dump/restore is required.

Tested in a bulk by jasper@, thanks !

ok jasper@, jeremy@
2011-09-23 09:46:14 +00:00

15 lines
575 B
Plaintext

$OpenBSD: patch-src_interfaces_libpq_Makefile,v 1.8 2011/09/23 09:46:14 pea Exp $
--- src/interfaces/libpq/Makefile.orig Mon Mar 28 15:42:09 2011
+++ src/interfaces/libpq/Makefile Wed Apr 6 09:15:34 2011
@@ -16,8 +16,8 @@ include $(top_builddir)/src/Makefile.global
# shared library parameters
NAME= pq
-SO_MAJOR_VERSION= 5
-SO_MINOR_VERSION= 4
+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)