aboutsummaryrefslogtreecommitdiff
path: root/mail/fetchmail
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-03-27 08:38:06 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-03-27 08:38:06 +0000
commit6fcd1686e62dd4ec90d2df299717ae23d2d34d6b (patch)
tree7b4d7c1b5eb2f2a9696a9db43b3c85324d08715d /mail/fetchmail
parent726183a8fad93982468e7a24a35d56e941b87b81 (diff)
downloadports-6fcd1686e62dd4ec90d2df299717ae23d2d34d6b.tar.gz
ports-6fcd1686e62dd4ec90d2df299717ae23d2d34d6b.zip
Unbroke on the systems with crypto from ssl port.
Notes
Notes: svn path=/head/; revision=40426
Diffstat (limited to 'mail/fetchmail')
-rw-r--r--mail/fetchmail/Makefile1
-rw-r--r--mail/fetchmail/files/patch-configure15
2 files changed, 13 insertions, 3 deletions
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