summaryrefslogtreecommitdiff
path: root/bootstrap/bootstrap
diff options
context:
space:
mode:
authorobache <obache>2013-08-04 01:19:19 +0000
committerobache <obache>2013-08-04 01:19:19 +0000
commit8109f12287e66b864c9a4b308d944033c0052924 (patch)
tree1a21dc2f624a3c21879854c34c12f69123b6677c /bootstrap/bootstrap
parent15c63806e27b5cd0e541fab87b2da8f708d1230d (diff)
downloadpkgsrc-8109f12287e66b864c9a4b308d944033c0052924.tar.gz
overwrite config.{guess,sub} automatically after copied from in-place source
tree in bootstrap.
Diffstat (limited to 'bootstrap/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()