summaryrefslogtreecommitdiff
path: root/databases/postgresql/patches/patch-aj
blob: 83a6357cbabfcb02f7458d370eee97920ec45c90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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