$OpenBSD: patch-src_interfaces_ecpg_ecpglib_Makefile,v 1.7 2012/09/24 19:57:02 pea Exp $
--- src/interfaces/ecpg/ecpglib/Makefile.orig	Fri May 11 00:35:09 2012
+++ src/interfaces/ecpg/ecpglib/Makefile	Tue May 15 10:25:56 2012
@@ -14,8 +14,8 @@ top_builddir = ../../../..
 include $(top_builddir)/src/Makefile.global
 
 NAME= ecpg
-SO_MAJOR_VERSION= 6
-SO_MINOR_VERSION= 4
+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)
