summaryrefslogtreecommitdiff
path: root/databases/postgresql/patches/patch-af
blob: 931be2684ffb388cc30e80f344eeb6f4e141282c (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-af,v 1.12 2000/09/03 09:51:19 wiz Exp $
--- pl/tcl/Makefile.orig	Mon May 22 22:12:44 2000
+++ pl/tcl/Makefile	Fri Sep  1 09:41:04 2000
@@ -56,10 +56,11 @@
 endif
 
 %$(TCL_SHLIB_SUFFIX):	%.o
-	$(TCL_SHLIB_LD) -o $@ $< $(TCL_LIB_SPEC) $(SHLIB_EXTRA_LIBS)
+	$(TCL_SHLIB_LD) -o $@ $< -R${PREFIX}/lib -L${PREFIX}/lib -ltcl83 -lm
 
 
 CC = $(TCL_CC)
+LD = $(TCL_LD)
 
 # Since we are using Tcl's choice of C compiler, which might not be the
 # same one selected for Postgres, do NOT use CFLAGS from Makefile.global.
@@ -70,7 +71,7 @@
 
 CFLAGS+= $(TCL_SHLIB_CFLAGS) $(TCL_DEFS)
 
-CFLAGS+= -I$(SRCDIR)/include -I$(SRCDIR)/backend $(PGSQL_INCLUDES)
+CFLAGS+= -I$(SRCDIR)/include -I$(SRCDIR)/backend -I$(LIBPQDIR) $(PGSQL_INCLUDES)
         
 #
 # Uncomment the following to enable the unknown command lookup