openbsd-ports/net/pidgin/patches/patch-libpurple_plugins_ssl_Makefile_am
alek a51226a081 Import pidgin-2.0.0
This is a new major release of GAIM with a new name to make AOL happy.

ok brad
2007-05-12 15:19:35 +00:00

33 lines
1.1 KiB
Plaintext

$OpenBSD: patch-libpurple_plugins_ssl_Makefile_am,v 1.1.1.1 2007/05/12 15:19:36 alek Exp $
--- libpurple/plugins/ssl/Makefile.am.orig Thu May 3 20:14:10 2007
+++ libpurple/plugins/ssl/Makefile.am Fri May 4 21:11:15 2007
@@ -4,6 +4,7 @@ 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
@@ -15,10 +16,12 @@ plugin_LTLIBRARIES = \
ssl-nss.la
ssl_la_SOURCES = ssl.c
+ssl_openssl_la_SOURCES = ssl-openssl.c
ssl_gnutls_la_SOURCES = ssl-gnutls.c
ssl_nss_la_SOURCES = ssl-nss.c
ssl_la_LIBADD = $(GLIB_LIBS)
+ssl_openssl_la_LIBADD = $(GLIB_LIBS) $(OPENSSL_LIBS)
ssl_gnutls_la_LIBADD = $(GLIB_LIBS) $(GNUTLS_LIBS)
ssl_nss_la_LIBADD = $(GLIB_LIBS) $(NSS_LIBS)
@@ -33,5 +36,6 @@ AM_CPPFLAGS = \
$(GLIB_CFLAGS) \
$(PLUGIN_CFLAGS)
-ssl_gnutls_la_CFLAGS = $(AM_CPPFLAGS) $(GNUTLS_CFLAGS)
+ $(GNUTLS_CFLAGS) \
+ $(OPENSSL_CFLAGS)
ssl_nss_la_CFLAGS = $(AM_CPPFLAGS) $(NSS_CFLAGS)