summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorabs <abs>2010-12-22 20:43:45 +0000
committerabs <abs>2010-12-22 20:43:45 +0000
commit6ec54d8791e87aa50dca35397fd2c335ae3abdcb (patch)
treea9a86a6d39b3c29b06d720907aad8d8e8a087396 /mk
parent38369ba05172f271c05d155b3dc4e1db1fd96bf2 (diff)
downloadpkgsrc-6ec54d8791e87aa50dca35397fd2c335ae3abdcb.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