pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/bootstrap bootstrap: Put back /usr/include hack on old...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7ae8b5979285
branches: trunk
changeset: 385346:7ae8b5979285
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Thu Sep 15 11:53:05 2022 +0000
description:
bootstrap: Put back /usr/include hack on old OSX.
diffstat:
bootstrap/bootstrap | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r bcd2f6f0b719 -r 7ae8b5979285 bootstrap/bootstrap
--- a/bootstrap/bootstrap Thu Sep 15 11:02:21 2022 +0000
+++ b/bootstrap/bootstrap Thu Sep 15 11:53:05 2022 +0000
@@ -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 <agc%NetBSD.org@localhost>
# All rights reserved.
@@ -617,6 +617,13 @@
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)
Home |
Main Index |
Thread Index |
Old Index