Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id 5A83EA567D for ; Mon, 5 Oct 2015 17:06:26 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 84BBE14A22E; Mon, 5 Oct 2015 17:06:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id E0C6C14A269 for ; Mon, 5 Oct 2015 17:06:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id M4NZrpY9XR9K for ; Mon, 5 Oct 2015 17:06:22 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 498CA14A253 for ; Mon, 5 Oct 2015 17:06:22 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 41FCC98; Mon, 5 Oct 2015 17:06:22 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Mon, 5 Oct 2015 17:06:22 +0000 From: "Jonathan Perkin" Subject: CVS commit: pkgsrc/mk/platform To: pkgsrc-changes@NetBSD.org Reply-To: jperkin@netbsd.org X-Mailer: log_accum Message-Id: <20151005170622.41FCC98@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: jperkin Date: Mon Oct 5 17:06:22 UTC 2015 Modified Files: pkgsrc/mk/platform: Darwin.mk Log Message: Re-order the way _OPSYS_INCLUDE_DIRS is calculated, and only perform checks for the SDK path if we need to. This avoids issues on Yosemite and Xcode 7, which drops support for the 10.10 SDK. Trying to determine the SDK path fails, but the failure is not cached in the xcrun database, so each call to a compiler tool is unecessarily delayed (by around 3 seconds on my build hosts). For users still on Yosemite who have upgraded to Xcode 7, the solution is to install the Command Line Tools so that /usr/include is populated and used. To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72 pkgsrc/mk/platform/Darwin.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.