$NetBSD: patch-ag,v 1.2 2015/12/29 23:34:50 dholland Exp $

Honor pkgsrc LDFLAGS.

--- tclConfig.sh.in.orig	Mon Mar  1 18:58:59 2004
+++ tclConfig.sh.in
@@ -90,7 +90,7 @@ TCL_DL_LIBS='@DL_LIBS@'
 
 # Flags to pass to the compiler when linking object files into
 # an executable tclsh or tcltest binary.
-TCL_LD_FLAGS='@LDFLAGS@'
+TCL_LD_FLAGS='@LD_FLAGS@'
 
 # Flags to pass to ld, such as "-R /usr/local/tcl/lib", that tell the
 # run-time dynamic linker where to look for shared libraries such as
