1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
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 gpsmanshp.o $(LINKOPT)
gpsmanshp.o: gpsmanshp.c
$(CC) $(CFLAGS) gpsmanshp.c
|