diff options
author | jperkin <jperkin> | 2015-09-01 11:12:30 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2015-09-01 11:12:30 +0000 |
commit | 8e7ff90db2d0e3e587f77e2dc0f6b484e84865b7 (patch) | |
tree | 6f30f7df88f0c6ee9afa268e14b221548aa2b343 /mk/platform | |
parent | c9cb7cf4f2c1408854e9841a06a2a954ae83a00a (diff) | |
download | pkgsrc-8e7ff90db2d0e3e587f77e2dc0f6b484e84865b7.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/platform')
-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. |