From 6ab2233ce3c70ea2e6f58ad0d42da2902865d535 Mon Sep 17 00:00:00 2001 From: jperkin Date: Fri, 1 Nov 2013 11:58:48 +0000 Subject: Move platform-specific code to the platform file. --- mk/platform/Darwin.mk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'mk/platform') diff --git a/mk/platform/Darwin.mk b/mk/platform/Darwin.mk index 2a5250e8837..a76dd67fc07 100644 --- a/mk/platform/Darwin.mk +++ b/mk/platform/Darwin.mk @@ -1,4 +1,4 @@ -# $NetBSD: Darwin.mk,v 1.55 2013/09/04 15:14:45 jperkin Exp $ +# $NetBSD: Darwin.mk,v 1.56 2013/11/01 11:58:48 jperkin Exp $ # # Variable definitions for the Darwin operating system. @@ -95,6 +95,13 @@ _USE_RPATH= no # don't add rpath to LDFLAGS # Comes with a native mit-krb5 implementation KRB5_DEFAULT?= mit-krb5 +# +# Builtin overrides. +# +.if !empty(OS_VERSION:M[56].*) +USE_BUILTIN.dl= no # Darwin-[56].* uses devel/dlcompat +.endif + # Builtin defaults which make sense for this platform. _OPSYS_PREFER.linux-pam?= native _OPSYS_PREFER.mit-krb5?= native -- cgit v1.2.3