Description: Makefile fix
 Makefile dos not refer to a specific TK version anymore and uses LDFLAGS 
 .
 gpsmanshp (1.2.3-3) unstable; urgency=low
 .
   * Do not depend of Tk8.4 anymore (Closes: #725367)
Author: Rogerio Reis <rvr@debian.org>
Bug-Debian: http://bugs.debian.org/725367

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- gpsmanshp-1.2.3.orig/Makefile
+++ gpsmanshp-1.2.3/Makefile
@@ -24,7 +24,7 @@
 
 VERSION = 1.2.3
 
-TCLVERSION = 8.5
+TCLVERSION =
 
 INSTALLDIR = /usr/lib/tcl$(TCLVERSION)
 
@@ -32,7 +32,7 @@ CFLAGS = -Wall -fPIC -c -I/usr/include/t
 LINKOPT = -lshp -ltcl$(TCLVERSION)
 
 gpsmanshp.so: gpsmanshp.o
-	$(CC) -shared -o gpsmanshp.so $(LINKOPT) gpsmanshp.o
+	$(CC) $(LDFLAGS) -shared -o gpsmanshp.so $(LINKOPT) gpsmanshp.o
 
 gpsmanshp.o: gpsmanshp.c
 	$(CC) $(CFLAGS) gpsmanshp.c
