$OpenBSD: patch-src_interfaces_ecpg_compatlib_Makefile,v 1.4 2009/07/21 19:43:45 pea Exp $
--- src/interfaces/ecpg/compatlib/Makefile.orig	Thu Jan  1 18:24:02 2009
+++ src/interfaces/ecpg/compatlib/Makefile	Sun May 31 11:59:15 2009
@@ -14,8 +14,8 @@ top_builddir = ../../../..
 include $(top_builddir)/src/Makefile.global
 
 NAME= ecpg_compat
-SO_MAJOR_VERSION= 3
-SO_MINOR_VERSION= 1
+SO_MAJOR_VERSION= ${LIBecpg_compat_MAJOR}
+SO_MINOR_VERSION= ${LIBecpg_compat_MINOR}
 
 override CPPFLAGS := -I../include -I$(top_srcdir)/src/interfaces/ecpg/include \
 	-I$(libpq_srcdir) -I$(top_srcdir)/src/include/utils $(CPPFLAGS)
