]> git.pld-linux.org Git - packages/curl.git/blobdiff - curl-krb5flags.patch
up to 7.80.0
[packages/curl.git] / curl-krb5flags.patch
index 07e03a619c524c81e271e04a62159df725360615..f399d15741db46b0d8b684899a8e4dac8843e24c 100644 (file)
@@ -1,20 +1,20 @@
---- curl-7.19.2/configure.ac.orig      2008-11-10 16:22:59.000000000 +0100
-+++ curl-7.19.2/configure.ac   2008-12-27 09:02:47.678512154 +0100
-@@ -1053,7 +1053,7 @@
+--- curl-7.43.0/configure.ac.orig      2015-06-24 21:11:53.330168712 +0200
++++ curl-7.43.0/configure.ac   2015-06-24 21:19:26.686816353 +0200
+@@ -1193,7 +1193,7 @@
+   CURL_CHECK_PKGCONFIG(mit-krb5-gssapi)
    if test -z "$GSSAPI_INCS"; then
-      if test -f "$GSSAPI_ROOT/bin/krb5-config"; then
-         GSSAPI_INCS=`$GSSAPI_ROOT/bin/krb5-config --cflags gssapi`
--        GSSAPI_LIBS=`$GSSAPI_ROOT/bin/krb5-config --libs gssapi`
-+        GSSAPI_LIBS=`CFLAGS= $GSSAPI_ROOT/bin/krb5-config --libs gssapi`
+      if test -n "$host_alias" -a -f "$GSSAPI_ROOT/bin/$host_alias-krb5-config"; then
+-        GSSAPI_INCS=`$GSSAPI_ROOT/bin/$host_alias-krb5-config --cflags gssapi`
++        GSSAPI_INCS=`CFLAGS= $GSSAPI_ROOT/bin/$host_alias-krb5-config --cflags gssapi`
+      elif test "$PKGCONFIG" != "no" ; then
+         GSSAPI_INCS=`$PKGCONFIG --cflags mit-krb5-gssapi`
       elif test "$GSSAPI_ROOT" != "yes"; then
-         GSSAPI_INCS="-I$GSSAPI_ROOT/include"
-         GSSAPI_LIBS="-lgssapi"
-@@ -1131,7 +1131,7 @@
-      if test -f "$GSSAPI_ROOT/bin/krb5-config"; then
-         dnl krb5-config doesn't have --libs-only-L or similar, put everything
-         dnl into LIBS
--        gss_libs=`$GSSAPI_ROOT/bin/krb5-config --libs gssapi`
-+        gss_libs=`CFLAGS= $GSSAPI_ROOT/bin/krb5-config --libs gssapi`
-         LIBS="$LIBS $gss_libs"
-      elif test "$GSSAPI_ROOT" != "yes"; then
-         LDFLAGS="$LDFLAGS -L$GSSAPI_ROOT/lib$libsuff"
+@@ -1288,7 +1288,7 @@
+         if test -n "$host_alias" -a -f "$GSSAPI_ROOT/bin/$host_alias-krb5-config"; then
+            dnl krb5-config doesn't have --libs-only-L or similar, put everything
+            dnl into LIBS
+-           gss_libs=`$GSSAPI_ROOT/bin/$host_alias-krb5-config --libs gssapi`
++           gss_libs=`CFLAGS= $GSSAPI_ROOT/bin/$host_alias-krb5-config --libs gssapi`
+            LIBS="$gss_libs $LIBS"
+         elif test "$PKGCONFIG" != "no" ; then
+            gss_libs=`$PKGCONFIG --libs mit-krb5-gssapi`
This page took 0.049723 seconds and 4 git commands to generate.