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
commite334f4fab3e621e77a14b7c1b82229d2fc38e3f0 (patch)
tree7a34af8c17f63cda4288874493e3169024fc03a7 /bootstrap
parent60c3314a21911a379421b203ab87b5678327a740 (diff)
downloadpkgsrc-e334f4fab3e621e77a14b7c1b82229d2fc38e3f0.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