summaryrefslogtreecommitdiff
path: root/www/curl/patches/patch-aa
blob: 9d69a0396de5a7b461d71001c584f2321f058656 (plain)
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
$NetBSD: patch-aa,v 1.17 2010/10/16 23:58:04 wiz Exp $

--- configure.orig	2010-10-01 20:49:17.000000000 +0000
+++ configure
@@ -14766,7 +14766,7 @@ squeeze() {
 
 
       #
-  if test "$compiler_id" != "unknown"; then
+  if false; then
     #
     if test "$compiler_id" = "GNU_C" ||
       test "$compiler_id" = "CLANG"; then
@@ -19176,15 +19176,15 @@ $as_echo "#define HAVE_GSSAPI 1" >>confd
            LIBS="$LIBS $gss_libs"
         elif test "$GSSAPI_ROOT" != "yes"; then
            LDFLAGS="$LDFLAGS -L$GSSAPI_ROOT/lib$libsuff"
-           LIBS="$LIBS -lgssapi"
+           LIBS="$LIBS -lgssapi -lkrb5"
         else
-           LIBS="$LIBS -lgssapi"
+           LIBS="$LIBS -lgssapi -lkrb5"
         fi
         ;;
      esac
   else
      LDFLAGS="$LDFLAGS $GSSAPI_LIB_DIR"
-     LIBS="$LIBS -lgssapi"
+     LIBS="$LIBS -lgssapi -lkrb5"
   fi
 else
   CPPFLAGS="$save_CPPFLAGS"