pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/bootstrap If $need_ksh, set TOOLS_PLATFORM.ksh too, el...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4b101146da5f
branches:  trunk
changeset: 543243:4b101146da5f
user:      sketch <sketch%pkgsrc.org@localhost>
date:      Wed Jun 11 12:47:07 2008 +0000

description:
If $need_ksh, set TOOLS_PLATFORM.ksh too, else packages with USE_TOOLS+=ksh
overwrite the installed dependancy, breaking bulk builds.

diffstat:

 bootstrap/bootstrap |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r b09e21253ea9 -r 4b101146da5f bootstrap/bootstrap
--- a/bootstrap/bootstrap       Wed Jun 11 11:37:55 2008 +0000
+++ b/bootstrap/bootstrap       Wed Jun 11 12:47:07 2008 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: bootstrap,v 1.127 2008/05/24 13:38:33 tnn Exp $
+# $NetBSD: bootstrap,v 1.128 2008/06/11 12:47:07 sketch Exp $
 #
 #
 # Copyright (c) 2001-2002 Alistair G. Crooks.  All rights reserved.
@@ -907,6 +907,8 @@
        run_cmd "$install_sh -c -o $user -g $group -m 755 $wrkdir/ksh/ksh $wrkdir/bin/pdksh"
        echo "TOOLS_PLATFORM.sh?=               $prefix/bin/pdksh" >> ${TARGET_MKCONF}
        echo "TOOLS_PLATFORM.sh?=               $wrkdir/bin/pdksh" >> ${BOOTSTRAP_MKCONF}
+       echo "TOOLS_PLATFORM.ksh?=              $prefix/bin/pdksh" >> ${TARGET_MKCONF}
+       echo "TOOLS_PLATFORM.ksh?=              $wrkdir/bin/pdksh" >> ${BOOTSTRAP_MKCONF}
 # Now rebootstrap bmake for ksh
        echo_msg "Rebootstrapping bmake for ksh"
        bmakexargs="$bmakexargs --with-defshell=$wrkdir/bin/pdksh"



Home | Main Index | Thread Index | Old Index