$NetBSD: patch-ad,v 1.11 2002/04/04 07:48:25 jlam Exp $

--- src/Makefile.global.in.orig	Thu Dec 20 16:23:05 2001
+++ src/Makefile.global.in
@@ -107,6 +107,13 @@
 endif
 endif
 
+htmldir := @htmldir@
+ifeq "$(findstring pgsql, $(htmldir))" ""
+ifeq "$(findstring postgres, $(htmldir))" ""
+override htmldir := $(htmldir)/postgresql
+endif
+endif
+
 odbcinst_ini_dir = @odbcinst_ini_dir@
 
 javadir := $(DESTDIR)$(datadir)/java
@@ -123,6 +130,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_odbc	= @enable_odbc@
@@ -279,6 +287,10 @@
 libpq_srcdir = $(top_srcdir)/src/interfaces/libpq
 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
 
 
 ##########################################################################
