1 |
dev-zero 09/05/28 06:34:33 |
2 |
|
3 |
Added: |
4 |
evolution-data-server-2.26.2-as-needed-configure.patch |
5 |
Log: |
6 |
Fixed configure with USE=kerberos and --as-needed (bug #271492). |
7 |
(Portage version: 2.2_rc33/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 gnome-extra/evolution-data-server/files/evolution-data-server-2.26.2-as-needed-configure.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/evolution-data-server/files/evolution-data-server-2.26.2-as-needed-configure.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/evolution-data-server/files/evolution-data-server-2.26.2-as-needed-configure.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: evolution-data-server-2.26.2-as-needed-configure.patch |
16 |
=================================================================== |
17 |
diff -Naur evolution-data-server-2.26.2.orig/configure.in evolution-data-server-2.26.2/configure.in |
18 |
--- evolution-data-server-2.26.2.orig/configure.in 2009-05-28 07:54:11.117306805 +0200 |
19 |
+++ evolution-data-server-2.26.2/configure.in 2009-05-28 07:56:19.107288441 +0200 |
20 |
@@ -1196,24 +1196,24 @@ |
21 |
|
22 |
msg_krb5="no" |
23 |
if test "x${with_krb5}" != "xno"; then |
24 |
- LDFLAGS_save="$LDFLAGS" |
25 |
+ LIBS_save="$LIBS" |
26 |
|
27 |
mitlibs="-lkrb5 -lk5crypto -lcom_err -lgssapi_krb5" |
28 |
heimlibs="-lkrb5 -lcrypto -lasn1 -lcom_err -lroken -lgssapi" |
29 |
sunlibs="-lkrb5 -lgss" |
30 |
AC_CACHE_CHECK([for Kerberos 5], ac_cv_lib_kerberos5, |
31 |
[ |
32 |
- LDFLAGS="$LDFLAGS -L$with_krb5_libs $mitlibs" |
33 |
+ LIBS="$LIBS -L$with_krb5_libs $mitlibs" |
34 |
AC_TRY_LINK([#include <krb5.h>],krb5_init_context, ac_cv_lib_kerberos5="$mitlibs", |
35 |
[ |
36 |
- LDFLAGS="$LDFLAGS_save -L$with_krb5_libs $heimlibs" |
37 |
+ LIBS="$LIBS_save -L$with_krb5_libs $heimlibs" |
38 |
AC_TRY_LINK_FUNC(krb5_init_context, ac_cv_lib_kerberos5="$heimlibs", |
39 |
[ |
40 |
- LDFLAGS="$LDFLAGS_save -L$with_krb5_libs $sunlibs" |
41 |
+ LIBS="$LIBS_save -L$with_krb5_libs $sunlibs" |
42 |
AC_TRY_LINK_FUNC(krb5_init_context, ac_cv_lib_kerberos5="$sunlibs", ac_cv_lib_kerberos5="no") |
43 |
]) |
44 |
]) |
45 |
- LDFLAGS="$LDFLAGS_save" |
46 |
+ LIBS="$LIBS_save" |
47 |
]) |
48 |
if test "$ac_cv_lib_kerberos5" != "no"; then |
49 |
AC_DEFINE(HAVE_KRB5,1,[Define if you have Krb5]) |