summaryrefslogtreecommitdiff
path: root/databases/postgresql/patches/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql/patches/patch-aj')
-rw-r--r--databases/postgresql/patches/patch-aj25
1 files changed, 25 insertions, 0 deletions
diff --git a/databases/postgresql/patches/patch-aj b/databases/postgresql/patches/patch-aj
new file mode 100644
index 00000000000..83a6357cbab
--- /dev/null
+++ b/databases/postgresql/patches/patch-aj
@@ -0,0 +1,25 @@
+$NetBSD: patch-aj,v 1.3 1999/09/19 04:24:55 jlam Exp $
+
+--- ./interfaces/ecpg/lib/Makefile.in.orig Wed Jun 30 19:57:23 1999
++++ ./interfaces/ecpg/lib/Makefile.in Sat Sep 18 03:05:04 1999
+@@ -12,7 +12,11 @@
+
+ NAME= ecpg
+ SO_MAJOR_VERSION= 3
++ifneq ($(LIBTOOL),)
++SO_MINOR_VERSION= 0 # bump this every time the patchlevel changes
++else
+ SO_MINOR_VERSION= 0.0
++endif
+
+ SRCDIR= @top_srcdir@
+ include $(SRCDIR)/Makefile.global
+@@ -25,7 +29,7 @@
+
+ OBJS= ecpglib.o typename.o
+
+-SHLIB_LINK= -L../../libpq -lpq
++SHLIB_LINK= $(LIBPQ)
+
+ # Shared library stuff, also default 'all' target
+ include $(SRCDIR)/Makefile.shlib