summaryrefslogtreecommitdiff
path: root/databases/postgresql73/patches/patch-ad
blob: 6ce91a0ac71e16f8e66c35cd8a4445fc99ef59ed (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
$NetBSD: patch-ad,v 1.1.1.1 2004/07/24 22:14:40 recht Exp $

--- src/Makefile.global.in.orig	Thu Sep  5 07:54:18 2002
+++ src/Makefile.global.in
@@ -111,6 +111,13 @@
 endif
 endif
 
+htmldir := @htmldir@
+ifeq "$(findstring pgsql, $(htmldir))" ""
+ifeq "$(findstring postgres, $(htmldir))" ""
+override htmldir := $(docdir)/postgresql
+endif
+endif
+
 javadir := $(DESTDIR)$(datadir)/java
 localedir := @localedir@
 
@@ -124,6 +131,7 @@
 with_java	= @with_java@
 with_perl	= @with_perl@
 with_python	= @with_python@
+with_python_compile = @with_python_compile@
 with_tcl	= @with_tcl@
 with_tk		= @with_tk@
 enable_shared	= @enable_shared@
@@ -285,13 +293,20 @@
 libpq_builddir = $(top_builddir)/src/interfaces/libpq
 libpq = -L$(libpq_builddir) -lpq
 
+libpgtcl_srcdir = $(top_srcdir)/src/interfaces/libpgtcl
+libpgtcl_builddir = $(top_builddir)/src/interfaces/libpgtcl
+libpgtcl = -L$(libpgtcl_builddir) -lpgtcl
+
 submake-libpq:
 	$(MAKE) -C $(libpq_builddir) all
 
 submake-libpgport:
 	$(MAKE) -C $(top_builddir)/src/port all
 
-.PHONY: submake-libpq submake-libpgport
+submake-libpgtcl:
+	$(MAKE) -C $(libpgtcl_builddir) all
+
+.PHONY: submake-libpq submake-libpgport submake-libpgtcl
 
 
 ##########################################################################