pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/fetchmail Force use of "openssl" package from pkg...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9e3130aaa127
branches:  trunk
changeset: 610751:9e3130aaa127
user:      tron <tron%pkgsrc.org@localhost>
date:      Sun Nov 04 23:06:23 2012 +0000

description:
Force use of "openssl" package from pkgsrc under NetBSD 5.* and older
to fix the build. As the "fetchmail" package doesn't provide any
shared libraries this shouldn't cause problems caused by mixing two
versions of OpenSSL.

diffstat:

 mail/fetchmail/options.mk |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r d49485c9a0e8 -r 9e3130aaa127 mail/fetchmail/options.mk
--- a/mail/fetchmail/options.mk Sun Nov 04 22:23:16 2012 +0000
+++ b/mail/fetchmail/options.mk Sun Nov 04 23:06:23 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.15 2007/11/07 08:57:10 tron Exp $
+# $NetBSD: options.mk,v 1.16 2012/11/04 23:06:23 tron Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.fetchmail
 PKG_SUPPORTED_OPTIONS= kerberos4 kerberos gssapi ssl
@@ -46,6 +46,13 @@
 ### Support POP3 and IMAP over SSL.
 ###
 .if !empty(PKG_OPTIONS:Mssl)
+.  if !empty(MACHINE_PLATFORM:MNetBSD-[1-5].*-*)
+# "fetchmail" requires the "SSL_CTX_clear_options" library function which
+# was added in OpenSSL 0.9.8m. NetBSD 5.* ships with a snapshot that
+# claims to be OpenSSL 0.9.9 but doesn't provide this function. Force
+# the use of the "openssl" package to fix the build.
+USE_BUILTIN.openssl=   no
+.  endif
 .  include "../../security/openssl/buildlink3.mk"
 CONFIGURE_ARGS+=       --with-ssl=${SSLBASE:Q}
 .else



Home | Main Index | Thread Index | Old Index