openbsd-ports/databases/postgresql/patches/patch-src_interfaces_libpq_Makefile
pea 78bfd95a99 Upgrade PostgreSQL to the latest version 8.4.0.
Initial diff (for rc and beta) from simon@

ok mbalmer@, simon@
commitski jasper@

BE CAREFULL: it's a major upgrade !
You MUST dump/restore all your data for this upgrade.
2009-07-21 19:43:45 +00:00

15 lines
575 B
Plaintext

$OpenBSD: patch-src_interfaces_libpq_Makefile,v 1.6 2009/07/21 19:43:45 pea Exp $
--- src/interfaces/libpq/Makefile.orig Mon Jan 5 10:27:19 2009
+++ src/interfaces/libpq/Makefile Sun May 31 12:00:52 2009
@@ -16,8 +16,8 @@ include $(top_builddir)/src/Makefile.global
# shared library parameters
NAME= pq
-SO_MAJOR_VERSION= 5
-SO_MINOR_VERSION= 2
+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)