pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/platform OSX Mavericks and Xcode 5 no longer ship s...
details: https://anonhg.NetBSD.org/pkgsrc/rev/761db3783024
branches: trunk
changeset: 626109:761db3783024
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Fri Nov 01 12:22:32 2013 +0000
description:
OSX Mavericks and Xcode 5 no longer ship system headers in /usr/include, they
are instead moved to SDK-specific locations. This breaks many builtin checks
which assume headers are in a fixed place.
Rather than trying to dig around finding where Xcode.app might be installed,
just override IS_BUILTIN for libraries that we know exist.
diffstat:
mk/platform/Darwin.mk | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diffs (28 lines):
diff -r 97a54d0a6f28 -r 761db3783024 mk/platform/Darwin.mk
--- a/mk/platform/Darwin.mk Fri Nov 01 12:19:29 2013 +0000
+++ b/mk/platform/Darwin.mk Fri Nov 01 12:22:32 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Darwin.mk,v 1.56 2013/11/01 11:58:48 jperkin Exp $
+# $NetBSD: Darwin.mk,v 1.57 2013/11/01 12:22:32 jperkin Exp $
#
# Variable definitions for the Darwin operating system.
@@ -101,6 +101,18 @@
.if !empty(OS_VERSION:M[56].*)
USE_BUILTIN.dl= no # Darwin-[56].* uses devel/dlcompat
.endif
+#
+# OSX Mavericks and Xcode 5 no longer ship /usr/include headers, moving them
+# instead to SDK-specific locations. This breaks various builtin header
+# checks, so we simply override builtins here that we know exist.
+#
+.if ${OS_VERSION:R} >= 13
+IS_BUILTIN.db1= yes
+IS_BUILTIN.dl= yes
+IS_BUILTIN.pthread= yes
+IS_BUILTIN.termcap= yes
+IS_BUILTIN.terminfo= yes
+.endif
# Builtin defaults which make sense for this platform.
_OPSYS_PREFER.linux-pam?= native
Home |
Main Index |
Thread Index |
Old Index