Received: by mail.netbsd.org (Postfix, from userid 605) id 3C02484E6B; Thu, 15 Sep 2022 11:53:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 750F684D47 for ; Thu, 15 Sep 2022 11:53:06 +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 KYAYZo89SyU7 for ; Thu, 15 Sep 2022 11:53:06 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id C956384C86 for ; Thu, 15 Sep 2022 11:53:05 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id BD3BAFA90; Thu, 15 Sep 2022 11:53:05 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1663242785272030" MIME-Version: 1.0 Date: Thu, 15 Sep 2022 11:53:05 +0000 From: "Jonathan Perkin" Subject: CVS commit: pkgsrc/bootstrap To: pkgsrc-changes@NetBSD.org Reply-To: jperkin@netbsd.org X-Mailer: log_accum Message-Id: <20220915115305.BD3BAFA90@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1663242785272030 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: jperkin Date: Thu Sep 15 11:53:05 UTC 2022 Modified Files: pkgsrc/bootstrap: bootstrap Log Message: bootstrap: Put back /usr/include hack on old OSX. To generate a diff of this commit: cvs rdiff -u -r1.314 -r1.315 pkgsrc/bootstrap/bootstrap Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1663242785272030 Content-Disposition: inline Content-Length: 809 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/bootstrap/bootstrap diff -u pkgsrc/bootstrap/bootstrap:1.314 pkgsrc/bootstrap/bootstrap:1.315 --- pkgsrc/bootstrap/bootstrap:1.314 Mon Sep 12 12:32:30 2022 +++ pkgsrc/bootstrap/bootstrap Thu Sep 15 11:53:05 2022 @@ -1,6 +1,6 @@ #! /bin/sh -# $NetBSD: bootstrap,v 1.314 2022/09/12 12:32:30 jperkin Exp $ +# $NetBSD: bootstrap,v 1.315 2022/09/15 11:53:05 jperkin Exp $ # # Copyright (c) 2001-2011 Alistair Crooks # All rights reserved. @@ -617,6 +617,13 @@ Darwin) need_mksh=yes fi + # Old compiler versions looked in /usr/local/include where software + # installed from MacPorts could affect builds. PR#26143 + if [ $macos_version -lt 1006 ]; then + CC=${CC:-"cc -isystem /usr/include"} + export CC + fi + unset macos_version ;; DragonFly) --_----------=_1663242785272030--