openbsd-ports/net/pidgin/patches/patch-libpurple_plugins_ssl_Makefile_in
ckuethe ec3e503aa2 Revert crash-prone update to pidgin 2.1.0 and silc-toolkit 1.1.2.
Discussed with brad, martynas and steven, ok pval
2007-08-11 22:14:27 +00:00

83 lines
3.8 KiB
Plaintext

$OpenBSD: patch-libpurple_plugins_ssl_Makefile_in,v 1.4 2007/08/11 22:15:46 ckuethe Exp $
--- libpurple/plugins/ssl/Makefile.in.orig Fri May 25 12:29:21 2007
+++ libpurple/plugins/ssl/Makefile.in Mon May 28 01:57:22 2007
@@ -57,6 +57,12 @@ am__installdirs = "$(DESTDIR)$(plugindir)"
pluginLTLIBRARIES_INSTALL = $(INSTALL)
LTLIBRARIES = $(plugin_LTLIBRARIES)
am__DEPENDENCIES_1 =
+@PLUGINS_TRUE@ssl_openssl_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
+@PLUGINS_TRUE@ $(am__DEPENDENCIES_1)
+am__ssl_openssl_la_SOURCES_DIST = ssl-openssl.c
+@PLUGINS_TRUE@am_ssl_openssl_la_OBJECTS = ssl-openssl.lo
+ssl_openssl_la_OBJECTS = $(am_ssl_openssl_la_OBJECTS)
+@PLUGINS_TRUE@am_ssl_openssl_la_rpath = -rpath $(plugindir)
@PLUGINS_TRUE@ssl_gnutls_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
@PLUGINS_TRUE@ $(am__DEPENDENCIES_1)
am__ssl_gnutls_la_SOURCES_DIST = ssl-gnutls.c
@@ -87,7 +93,7 @@ LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CF
$(AM_LDFLAGS) $(LDFLAGS) -o $@
SOURCES = $(ssl_gnutls_la_SOURCES) $(ssl_nss_la_SOURCES) \
$(ssl_la_SOURCES)
-DIST_SOURCES = $(am__ssl_gnutls_la_SOURCES_DIST) \
+DIST_SOURCES = $(am__ssl_openssl_la_SOURCES_DIST) $(am__ssl_gnutls_la_SOURCES_DIST) \
$(am__ssl_nss_la_SOURCES_DIST) $(am__ssl_la_SOURCES_DIST)
ETAGS = etags
CTAGS = ctags
@@ -198,6 +204,8 @@ GNT_MAJOR_VERSION = @GNT_MAJOR_VERSION@
GNT_MICRO_VERSION = @GNT_MICRO_VERSION@
GNT_MINOR_VERSION = @GNT_MINOR_VERSION@
GNT_VERSION = @GNT_VERSION@
+OPENSSL_CFLAGS = @OPENSSL_CFLAGS@
+OPENSSL_LIBS = @OPENSSL_LIBS@
GNUTLS_CFLAGS = @GNUTLS_CFLAGS@
GNUTLS_LIBS = @GNUTLS_LIBS@
GSTREAMER_CFLAGS = @GSTREAMER_CFLAGS@
@@ -341,6 +349,8 @@ TCL_LIBS = @TCL_LIBS@
TK_LIBS = @TK_LIBS@
USE_GCONFTOOL_FALSE = @USE_GCONFTOOL_FALSE@
USE_GCONFTOOL_TRUE = @USE_GCONFTOOL_TRUE@
+USE_OPENSSL_FALSE = @USE_OPENSSL_FALSE@
+USE_OPENSSL_TRUE = @USE_OPENSSL_TRUE@
USE_GNUTLS_FALSE = @USE_GNUTLS_FALSE@
USE_GNUTLS_TRUE = @USE_GNUTLS_TRUE@
USE_INTERNAL_LIBGADU_FALSE = @USE_INTERNAL_LIBGADU_FALSE@
@@ -429,17 +439,21 @@ EXTRA_DIST = \
plugindir = $(libdir)/purple-$(PURPLE_MAJOR_VERSION)
ssl_la_LDFLAGS = -module -avoid-version
+ssl_openssl_la_LDFLAGS = -module -avoid-version
ssl_gnutls_la_LDFLAGS = -module -avoid-version
ssl_nss_la_LDFLAGS = -module -avoid-version
@PLUGINS_TRUE@plugin_LTLIBRARIES = \
@PLUGINS_TRUE@ ssl.la \
+@PLUGINS_TRUE@ ssl-openssl.la \
@PLUGINS_TRUE@ ssl-gnutls.la \
@PLUGINS_TRUE@ ssl-nss.la
@PLUGINS_TRUE@ssl_la_SOURCES = ssl.c
+@PLUGINS_TRUE@ssl_openssl_la_SOURCES = ssl-openssl.c
@PLUGINS_TRUE@ssl_gnutls_la_SOURCES = ssl-gnutls.c
@PLUGINS_TRUE@ssl_nss_la_SOURCES = ssl-nss.c
@PLUGINS_TRUE@ssl_la_LIBADD = $(GLIB_LIBS)
+@PLUGINS_TRUE@ssl_openssl_la_LIBADD = $(GLIB_LIBS) $(OPENSSL_LIBS)
@PLUGINS_TRUE@ssl_gnutls_la_LIBADD = $(GLIB_LIBS) $(GNUTLS_LIBS)
@PLUGINS_TRUE@ssl_nss_la_LIBADD = $(GLIB_LIBS) $(NSS_LIBS)
AM_CPPFLAGS = \
@@ -513,6 +527,8 @@ clean-pluginLTLIBRARIES:
echo "rm -f \"$${dir}/so_locations\""; \
rm -f "$${dir}/so_locations"; \
done
+ssl-openssl.la: $(ssl_openssl_la_OBJECTS) $(ssl_openssl_la_DEPENDENCIES)
+ $(LINK) $(am_ssl_openssl_la_rpath) $(ssl_openssl_la_LDFLAGS) $(ssl_openssl_la_OBJECTS) $(ssl_openssl_la_LIBADD) $(LIBS)
ssl-gnutls.la: $(ssl_gnutls_la_OBJECTS) $(ssl_gnutls_la_DEPENDENCIES)
$(LINK) $(am_ssl_gnutls_la_rpath) $(ssl_gnutls_la_LDFLAGS) $(ssl_gnutls_la_OBJECTS) $(ssl_gnutls_la_LIBADD) $(LIBS)
ssl-nss.la: $(ssl_nss_la_OBJECTS) $(ssl_nss_la_DEPENDENCIES)
@@ -527,6 +543,7 @@ distclean-compile:
-rm -f *.tab.c
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ssl.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ssl-openssl.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ssl_gnutls_la-ssl-gnutls.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ssl_nss_la-ssl-nss.Plo@am__quote@