summaryrefslogtreecommitdiff
path: root/mk/platform/Darwin.mk
diff options
context:
space:
mode:
authorjperkin <jperkin>2013-11-01 11:58:48 +0000
committerjperkin <jperkin>2013-11-01 11:58:48 +0000
commit341431c39677d172c1c493ae368d2e35a2de2965 (patch)
tree44fb08fefa72a0ff1b29035e21efd68a845cd407 /mk/platform/Darwin.mk
parent4473149633cfd9d083ce6716e71cd15653103e88 (diff)
downloadpkgsrc-341431c39677d172c1c493ae368d2e35a2de2965.tar.gz
Move platform-specific code to the platform file.
Diffstat (limited to 'mk/platform/Darwin.mk')
-rw-r--r--mk/platform/Darwin.mk9
1 files changed, 8 insertions, 1 deletions
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