From 6fcd1686e62dd4ec90d2df299717ae23d2d34d6b Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Tue, 27 Mar 2001 08:38:06 +0000 Subject: Unbroke on the systems with crypto from ssl port. --- mail/fetchmail/Makefile | 1 + mail/fetchmail/files/patch-configure | 15 ++++++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) (limited to 'mail/fetchmail') diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile index 64d6c14e1ce8..7f77ddcce5b5 100644 --- a/mail/fetchmail/Makefile +++ b/mail/fetchmail/Makefile @@ -43,6 +43,7 @@ CONFIGURE_ARGS+=--enable-inet6 CONFIGURE_ARGS+=--with-ssl=/usr .elif exists(${LOCALBASE}/lib/libssl.a) && exists(${LOCALBASE}/lib/libcrypto.a) CONFIGURE_ARGS+=-with-includes=${LOCALBASE}/include/openssl --with-ssl=${LOCALBASE} +CONFIGURE_ENV+= RSAGLUE=-lRSAglue .endif .if exists(/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4) diff --git a/mail/fetchmail/files/patch-configure b/mail/fetchmail/files/patch-configure index 89de33cae347..efd462772c88 100644 --- a/mail/fetchmail/files/patch-configure +++ b/mail/fetchmail/files/patch-configure @@ -1,9 +1,18 @@ $FreeBSD$ ---- configure 2001/03/20 10:48:56 1.1 -+++ configure 2001/03/20 10:50:20 -@@ -6714,10 +6714,10 @@ +--- configure.orig Sun Mar 18 06:26:42 2001 ++++ configure Tue Mar 27 11:21:57 2001 +@@ -6240,7 +6240,7 @@ + CEFLAGS="$CEFLAGS -I$with_ssl/include" + fi + LDEFLAGS="$LDEFLAGS -L$with_ssl/lib" +- LIBS="$LIBS -lssl -lcrypto" ++ LIBS="$LIBS -lssl -lcrypto $RSAGLUE" + cat >> confdefs.h <<\EOF + #define SSL_ENABLE 1 + EOF +@@ -6799,10 +6799,10 @@ s%@INSTALL_DATA@%$INSTALL_DATA%g s%@PACKAGE@%$PACKAGE%g s%@VERSION@%$VERSION%g -- cgit v1.2.3