$OpenBSD: patch-src_interfaces_ecpg_pgtypeslib_Makefile,v 1.12 2016/12/18 18:18:27 jeremy Exp $
--- src/interfaces/ecpg/pgtypeslib/Makefile.orig	Mon Jul 18 22:54:26 2016
+++ src/interfaces/ecpg/pgtypeslib/Makefile	Wed Aug  3 15:55:16 2016
@@ -15,8 +15,8 @@ include $(top_builddir)/src/Makefile.global
 
 PGFILEDESC = "pgtypes - library for data type mapping"
 NAME= pgtypes
-SO_MAJOR_VERSION= 3
-SO_MINOR_VERSION= 7
+SO_MAJOR_VERSION= ${LIBpgtypes_MAJOR}
+SO_MINOR_VERSION= ${LIBpgtypes_MINOR}
 
 override CPPFLAGS := -I../include -I$(top_srcdir)/src/interfaces/ecpg/include \
 	-DFRONTEND $(CPPFLAGS)
