$OpenBSD: patch-src_interfaces_ecpg_ecpglib_Makefile,v 1.4 2009/07/21 19:43:45 pea Exp $
--- src/interfaces/ecpg/ecpglib/Makefile.orig	Sat Feb  7 18:17:34 2009
+++ src/interfaces/ecpg/ecpglib/Makefile	Sun May 31 11:59:50 2009
@@ -14,8 +14,8 @@ top_builddir = ../../../..
 include $(top_builddir)/src/Makefile.global
 
 NAME= ecpg
-SO_MAJOR_VERSION= 6
-SO_MINOR_VERSION= 1
+SO_MAJOR_VERSION= ${LIBecpg_MAJOR}
+SO_MINOR_VERSION= ${LIBecpg_MINOR}
 
 override CPPFLAGS := -I../include -I$(top_srcdir)/src/interfaces/ecpg/include \
 	-I$(libpq_srcdir) -I$(top_builddir)/src/port $(CPPFLAGS)
