$NetBSD: patch-Makefile,v 1.1 2012/08/19 06:58:08 marino Exp $

Fixes error: ERROR: lib/httpd/mod_dtcl.so: missing library: libtcl85.so

--- Makefile.orig	2001-09-05 12:01:22.000000000 +0000
+++ Makefile
@@ -26,7 +26,7 @@ static: $(OBJECTS) docs/documentation.ht
 	$(TCL_STLIB_LD) $(STATICLIB) $(OBJECTS) 
 
 shared: $(OBJECTS) docs/documentation.html
-	$(TCL_SHLIB_LD) -o $(SHLIB) $(OBJECTS) $(TCL_LIB_SPEC) $(TCL_LIBS)
+	$(TCL_SHLIB_LD) -o $(SHLIB) $(OBJECTS) $(COMPILER_RPATH_FLAG)$(PREFIX)/lib $(TCL_LIB_SPEC) $(TCL_LIBS)
 
 # I don't have too many C files, so it's just clearer to do things by
 # hand
