diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-09-01 11:12:30 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-09-01 11:12:30 +0000 |
commit | 9dc7935d0fde908c7852bee827d8c27ba5621649 (patch) | |
tree | 6f30f7df88f0c6ee9afa268e14b221548aa2b343 /mk | |
parent | 8d6edd579ad9087307af6764ffaae37e941a9c74 (diff) | |
download | pkgsrc-9dc7935d0fde908c7852bee827d8c27ba5621649.tar.gz |
Default to pkgsrc openssl from OSX Lion / 10.7 onwards, where the native
openssl is marked as deprecated. This causes failures in pkg_install now
that WARNS works correctly (-Werror,-Wdeprecated-declarations).
Diffstat (limited to 'mk')
-rw-r--r-- | mk/platform/Darwin.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/platform/Darwin.mk b/mk/platform/Darwin.mk index 3354c4c8634..bc124fe4eef 100644 --- a/mk/platform/Darwin.mk +++ b/mk/platform/Darwin.mk @@ -1,4 +1,4 @@ -# $NetBSD: Darwin.mk,v 1.69 2015/08/17 17:35:23 jperkin Exp $ +# $NetBSD: Darwin.mk,v 1.70 2015/09/01 11:12:30 jperkin Exp $ # # Variable definitions for the Darwin operating system. @@ -128,6 +128,9 @@ USE_BUILTIN.dl= no # Darwin-[56].* uses devel/dlcompat # Builtin defaults which make sense for this platform. _OPSYS_PREFER.linux-pam?= native _OPSYS_PREFER.mit-krb5?= native +.if ${OS_VERSION:R} >= 11 +_OPSYS_PREFER.openssl?= pkgsrc # builtin deprecated from 10.7 onwards +.endif # flags passed to the linker to extract all symbols from static archives. # this is GNU ld. |