From 5765f22803d0ede11f3eb785ba0d3e6bbd60a031 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 4 Nov 2012 23:06:23 +0000 Subject: 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. --- mail/fetchmail/options.mk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'mail') diff --git a/mail/fetchmail/options.mk b/mail/fetchmail/options.mk index 35d9d1ab39a..2665f12d758 100644 --- a/mail/fetchmail/options.mk +++ b/mail/fetchmail/options.mk @@ -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 @@ CONFIGURE_ARGS+= --with-kerberos5=no ### 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 -- cgit v1.2.3