summaryrefslogtreecommitdiffstats
path: root/libmemcached-sasl.patch
blob: 104f60bb04fced2897171fa2ecc0cb42e277a539 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
diff -up libmemcached-0.44/libmemcached/include.am.sasl libmemcached-0.44/libmemcached/include.am
--- libmemcached-0.44/libmemcached/include.am.sasl	2010-10-02 16:34:33.000000000 +0200
+++ libmemcached-0.44/libmemcached/include.am	2010-10-02 16:35:27.000000000 +0200
@@ -149,7 +149,7 @@ libmemcached_libmemcachedprotocol_la_DEP
 endif
 
 if HAVE_SASL
-libmemcached_libmemcached_la_LDFLAGS+= $(LIBSASL)
+libmemcached_libmemcached_la_LIBADD += $(LTLIBSASL2)
 libmemcached_libmemcached_la_SOURCES += libmemcached/sasl.c
 endif
 
diff -up libmemcached-0.44/support/libmemcached.pc.in.sasl libmemcached-0.44/support/libmemcached.pc.in
--- libmemcached-0.44/support/libmemcached.pc.in.sasl	2010-10-02 08:20:58.000000000 +0200
+++ libmemcached-0.44/support/libmemcached.pc.in	2010-10-02 08:24:07.000000000 +0200
@@ -6,5 +6,5 @@ includedir=@includedir@
 Name: libmemcached
 Description: libmemcached C library.
 Version: @VERSION@
-Libs: -L${libdir} -lmemcached
+Libs: @LTLIBSASL2@ -L${libdir} -lmemcached
 Cflags: -I${includedir}
--- libmemcached-0.46/Makefile.in.orig	2011-02-19 17:54:29.000000000 +0100
+++ libmemcached-0.46/Makefile.in	2011-02-19 17:54:51.000000000 +0100
@@ -113,7 +113,7 @@
 @BUILD_BYTEORDER_TRUE@am__append_4 = libmemcached/libbyteorder.la
 @BUILD_BYTEORDER_TRUE@am__append_5 = libmemcached/libbyteorder.la
 @BUILD_BYTEORDER_TRUE@am__append_6 = libmemcached/libbyteorder.la
-@HAVE_SASL_TRUE@am__append_7 = $(LIBSASL)
+@HAVE_SASL_TRUE@am__append_7 = $(LTLIBSASL2)
 @HAVE_SASL_TRUE@am__append_8 = libmemcached/sasl.c
 @HAVE_DTRACE_TRUE@am__append_9 = libmemcached/dtrace_probes.h
 @HAVE_DTRACE_TRUE@am__append_10 = libmemcached/dtrace_probes.h
@@ -291,6 +291,7 @@
 	$(am_libmemcached_libbyteorder_la_OBJECTS)
 @BUILD_BYTEORDER_TRUE@am_libmemcached_libbyteorder_la_rpath =
 am__DEPENDENCIES_1 =
+@HAVE_SASL_TRUE@am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1)
 am__libmemcached_libmemcached_la_SOURCES_DIST =  \
 	libmemcached/allocators.c libmemcached/analyze.c \
 	libmemcached/auto.c libmemcached/behavior.c \
@@ -396,7 +397,6 @@
 PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
 am_clients_memcapable_OBJECTS = clients/memcapable.$(OBJEXT)
 clients_memcapable_OBJECTS = $(am_clients_memcapable_OBJECTS)
-@HAVE_SASL_TRUE@am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1)
 am__DEPENDENCIES_3 = $(am__DEPENDENCIES_1) clients/libutilities.la \
 	libmemcached/libmemcached.la $(am__DEPENDENCIES_2)
 clients_memcapable_DEPENDENCIES = $(am__DEPENDENCIES_3) \
@@ -974,9 +974,10 @@
 libmemcached_libmemcached_la_LIBADD = $(LIBM) \
 	libmemcached/libmemcachedcallbacks.la \
 	libmemcached/libmemcachedinternal.la \
-	libhashkit/libhashkitinc.la $(am__append_5) $(am__append_13)
+	libhashkit/libhashkitinc.la $(am__append_5) $(am__append_7) \
+	$(am__append_13)
 libmemcached_libmemcached_la_LDFLAGS = ${AM_LDFLAGS} -version-info \
-	${MEMCACHED_LIBRARY_VERSION} $(am__append_7) $(am__append_26)
+	${MEMCACHED_LIBRARY_VERSION} $(am__append_26)
 libmemcached_libmemcachedutil_la_SOURCES = \
 					  libmemcached/util/ping.c \
 					  libmemcached/util/pool.c \