summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2010-12-22 20:43:45 +0000
committerabs <abs@pkgsrc.org>2010-12-22 20:43:45 +0000
commitc55ded0cd7d9b754af4edeb7fd706cc7fd7b47c2 (patch)
treea9a86a6d39b3c29b06d720907aad8d8e8a087396 /mk
parent5fa69411c730450e792de1a81549354fd7266d9f (diff)
downloadpkgsrc-c55ded0cd7d9b754af4edeb7fd706cc7fd7b47c2.tar.gz
Why should apps compiled for OS X 10.4 and earlier have to languish with
outdated X libraries? Default to modular x11 for a more modern set of features, bugfixes (and bugs), and to simplify application support Does *not* affect 10.5 (Leopard) or later
Diffstat (limited to 'mk')
-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