$NetBSD: patch-ak,v 1.1 1999/09/19 04:24:55 jlam Exp $

--- ./interfaces/libpgtcl/Makefile.in.orig	Wed Jun 30 19:57:24 1999
+++ ./interfaces/libpgtcl/Makefile.in	Sat Sep 18 03:05:39 1999
@@ -27,7 +27,7 @@
 
 OBJS= pgtcl.o pgtclCmds.o pgtclId.o
 
-SHLIB_LINK+= -L../libpq -lpq
+SHLIB_LINK+= $(LIBPQ)
 
 # If crypt is a separate library, rather than part of libc, it may need
 # to be referenced separately to keep (broken) linkers happy.  (This is
