summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/platform/Darwin.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/platform/Darwin.mk b/mk/platform/Darwin.mk
index bb374e4f281..a2fc62eda62 100644
--- a/mk/platform/Darwin.mk
+++ b/mk/platform/Darwin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: Darwin.mk,v 1.43 2010/07/08 04:57:36 dholland Exp $
+# $NetBSD: Darwin.mk,v 1.44 2010/12/22 20:43:45 abs Exp $
#
# Variable definitions for the Darwin operating system.
@@ -14,6 +14,11 @@
# Leopard 10.5.x 9.x.y 3.x (gcc 4.0.1, 4.0.1 and 4.2.1 from 3.1)
# Snow Leopard 10.6.x 10.x.y 3.2+ (gcc 4.0.1 and 4.2.1)
+# Tiger (and earlier) use Xfree 4.4.0 (and earlier)
+.if ! empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*)
+X11_TYPE?=modular
+.endif
+
.if !defined(CPP) || ${CPP} == "cpp"
CPP= ${CC} -E ${CPP_PRECOMP_FLAGS}
.endif