summaryrefslogtreecommitdiff
path: root/databases/postgresql/patches/patch-aj
blob: ae0c3f47099a77bb247803d301b8cba08f38abfb (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
26
27
28
29
30
31
$NetBSD: patch-aj,v 1.4 1999/09/20 23:38:50 jlam Exp $

--- ./interfaces/ecpg/lib/Makefile.in.orig	Wed Jun 30 19:57:23 1999
+++ ./interfaces/ecpg/lib/Makefile.in	Mon Sep 20 01:17:03 1999
@@ -12,12 +12,16 @@
 
 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
 
-CFLAGS+= -I../include -I$(SRCDIR)/interfaces/libpq
+CFLAGS+= -I../include -I$(LIBPQDIR)
 
 ifdef KRBVERS
 CFLAGS+= $(KRBFLAGS)
@@ -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