diff options
author | tron <tron@pkgsrc.org> | 2012-11-04 23:06:23 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2012-11-04 23:06:23 +0000 |
commit | 5765f22803d0ede11f3eb785ba0d3e6bbd60a031 (patch) | |
tree | a1d3ac893be241d92225d39cb8e5a9b3ddada2af /mail | |
parent | e79dec7ad5d0ee3a4bac14e2273cea9cb67b6976 (diff) | |
download | pkgsrc-5765f22803d0ede11f3eb785ba0d3e6bbd60a031.tar.gz |
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 (limited to 'mail')
-rw-r--r-- | mail/fetchmail/options.mk | 9 |
1 files changed, 8 insertions, 1 deletions
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 |