]> git.sven.stormbind.net Git - sven/tclcurl.git/blob - debian/patches/correct-linking
9ba9422334b0ba033a694f949c09b6db62711a6b
[sven/tclcurl.git] / debian / patches / correct-linking
1 Index: TclCurl-7.19.0/configure
2 ===================================================================
3 --- TclCurl-7.19.0.orig/configure       2008-09-11 09:30:42.000000000 +0200
4 +++ TclCurl-7.19.0/configure    2008-09-11 09:32:01.000000000 +0200
5 @@ -6914,7 +6914,16 @@
6  echo "${ECHO_T}yes" >&6; }
7  
8  
9 -    vars="`$curlpath/curl-config --libs`"
10 +# We need to modify this original line to strip a few things
11 +# See: http://lists.debian.org/debian-devel-announce/2006/09/msg00018.html
12 +
13 +    vars="`$curlpath/curl-config --libs|sed \
14 +    -e 's/\-lkrb5\>//g' \
15 +    -e 's/\-lgssapi_krb5//g' \
16 +    -e 's/\-lk5crypto//g' \
17 +    -e 's/\-lkrb5support//g' \
18 + `"
19 +
20      for i in $vars; do
21         if test "${TEA_PLATFORM}" = "windows" -a "$GCC" = "yes" ; then
22             # Convert foo.lib to -lfoo for GCC.  No-op if not *.lib
23 Index: TclCurl-7.19.0/configure.in
24 ===================================================================
25 --- TclCurl-7.19.0.orig/configure.in    2008-09-11 09:30:42.000000000 +0200
26 +++ TclCurl-7.19.0/configure.in 2008-09-11 09:32:01.000000000 +0200
27 @@ -127,7 +127,16 @@
28  fi
29  AC_MSG_RESULT(yes)
30  
31 -TEA_ADD_LIBS([`$curlpath/curl-config --libs`])
32 +# We need to modify this original line to strip a few things
33 +# See: http://lists.debian.org/debian-devel-announce/2006/09/msg00018.html
34 +
35 +TEA_ADD_LIBS([`$curlpath/curl-config --libs|sed \
36 +    -e 's/\-lkrb5\>//g' \
37 +    -e 's/\-lgssapi_krb5//g' \
38 +    -e 's/\-lk5crypto//g' \
39 +    -e 's/\-lkrb5support//g' \
40 + `])
41 +
42  
43  #--------------------------------------------------------------------
44  # A few miscellaneous platform-specific items: