pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/bootstrap



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.

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 <agc%NetBSD.org@localhost>
 # 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)



Home | Main Index | Thread Index | Old Index