summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2008-01-30 22:57:31 +0000
committertron <tron@pkgsrc.org>2008-01-30 22:57:31 +0000
commit5acb5cbde8921d8690b462a6475f06410daa9e36 (patch)
tree7a34af8c17f63cda4288874493e3169024fc03a7 /bootstrap
parentbb453d0bb0c3cc1af41ef1762c2e725def1741aa (diff)
downloadpkgsrc-5acb5cbde8921d8690b462a6475f06410daa9e36.tar.gz
Try to fix PR pkg/26143 with caution:
- Set "CC" to "gcc -isystem /usr/include" during bootstrap. - Add "-isystem /usr/include" to the Darwin specific "CPPFLAGS".
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/bootstrap3
1 files changed, 2 insertions, 1 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index 0c547694afc..cbe5e450f11 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.119 2008/01/24 14:48:02 joerg Exp $
+# $NetBSD: bootstrap,v 1.120 2008/01/30 22:57:31 tron Exp $
#
#
# Copyright (c) 2001-2002 Alistair G. Crooks. All rights reserved.
@@ -442,6 +442,7 @@ Darwin)
need_sed=no
set_opsys=no
machine_arch=`uname -p`
+ CC="gcc -isystem /usr/include"; export CC
;;
DragonFly)
root_group=wheel