summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-08-04 01:19:19 +0000
committerobache <obache@pkgsrc.org>2013-08-04 01:19:19 +0000
commitc79651e10989db5948fb75f818329faa083950e1 (patch)
tree1a21dc2f624a3c21879854c34c12f69123b6677c /bootstrap
parent81744d99cb1b167862af3ee5f4d7f95f5e946166 (diff)
downloadpkgsrc-c79651e10989db5948fb75f818329faa083950e1.tar.gz
overwrite config.{guess,sub} automatically after copied from in-place source
tree in bootstrap.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/bootstrap8
1 files changed, 7 insertions, 1 deletions
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 <agc@NetBSD.org>
# 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()