summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorsketch <sketch@pkgsrc.org>2008-06-17 11:50:45 +0000
committersketch <sketch@pkgsrc.org>2008-06-17 11:50:45 +0000
commit8bb177563eabebe10ad027bf3cb19c0c7c6d6a1d (patch)
tree2698374895d85d8d2949049c11f0a8febbf806d7 /bootstrap
parent7465f6ce7648066abda68fc8dc184523c1bc32f5 (diff)
downloadpkgsrc-8bb177563eabebe10ad027bf3cb19c0c7c6d6a1d.tar.gz
Save SUNWSPROBASE if provided.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/bootstrap6
1 files changed, 5 insertions, 1 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index fa53cb19dab..fd9360dfb5d 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.129 2008/06/17 11:38:52 sketch Exp $
+# $NetBSD: bootstrap,v 1.130 2008/06/17 11:50:45 sketch Exp $
#
#
# Copyright (c) 2001-2002 Alistair G. Crooks. All rights reserved.
@@ -831,6 +831,10 @@ fi
if [ "$compiler" != "" ]; then
echo "PKGSRC_COMPILER= $compiler" >> ${TARGET_MKCONF}
fi
+if [ -n "$SUNWSPROBASE" ]; then
+ echo "SUNWSPROBASE= $SUNWSPROBASE" >> ${TARGET_MKCONF}
+fi
+echo "" >> ${TARGET_MKCONF}
# enable unprivileged builds if not root
if [ "$unprivileged" = "yes" ]; then