From 6a7d5c2cf245945460fb5d42123beb2911780db2 Mon Sep 17 00:00:00 2001 From: obache Date: Sun, 4 Aug 2013 01:19:19 +0000 Subject: overwrite config.{guess,sub} automatically after copied from in-place source tree in bootstrap. --- bootstrap/bootstrap | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'bootstrap') diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap index 7ffdaa8fb1a..578ba6f27fb 100755 --- a/bootstrap/bootstrap +++ b/bootstrap/bootstrap @@ -1,6 +1,6 @@ #! /bin/sh -# $NetBSD: bootstrap,v 1.195 2013/07/26 09:38:15 ryoon Exp $ +# $NetBSD: bootstrap,v 1.196 2013/08/04 01:19:19 obache Exp $ # # Copyright (c) 2001-2011 Alistair Crooks # All rights reserved. @@ -299,6 +299,12 @@ copy_src() mkdir_p $wrkdir/$_dst fi $cpprog -r $_src/* $wrkdir/$_dst + if [ -f $wrkdir/$_dst/config.guess ]; then + $cpprog $pkgsrcdir/mk/gnu-config/config.guess $wrkdir/$_dst/ + fi + if [ -f $wrkdir/$_dst/config.sub ]; then + $cpprog $pkgsrcdir/mk/gnu-config/config.sub $wrkdir/$_dst/ + fi } get_optarg() -- cgit v1.2.3