summaryrefslogtreecommitdiff
path: root/bootstrap/bootstrap
diff options
context:
space:
mode:
authorasau <asau>2014-04-17 18:27:24 +0000
committerasau <asau>2014-04-17 18:27:24 +0000
commit9597396c29d2d18151c47caa0fd4d530ba130012 (patch)
tree949f9048ac2fee932996639952c92a0971d43aca /bootstrap/bootstrap
parente9b4fb85cbfa5a25d54630e598195db4d3e7c947 (diff)
downloadpkgsrc-9597396c29d2d18151c47caa0fd4d530ba130012.tar.gz
Follow the conventional path of "configure-make-install"
when bootstrapping bmake.
Diffstat (limited to 'bootstrap/bootstrap')
-rwxr-xr-xbootstrap/bootstrap6
1 files changed, 3 insertions, 3 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index 0e468ef97d9..5b46604f1ce 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.206 2014/04/17 18:12:47 asau Exp $
+# $NetBSD: bootstrap,v 1.207 2014/04/17 18:27:24 asau Exp $
#
# Copyright (c) 2001-2011 Alistair Crooks <agc@NetBSD.org>
# All rights reserved.
@@ -1075,8 +1075,8 @@ $shprog ./bootstrap.sh)"
bootstrap_bmake() {
echo_msg "Bootstrapping bmake"
copy_src $pkgsrcdir/devel/bmake/files bmake
- run_cmd "chmod u+x $wrkdir/bmake/configure"
- run_cmd "(cd $wrkdir/bmake && $shprog ./boot-strap $configure_quiet_flags -q -o bootstrap.$opsys --prefix=$wrkdir --sysconfdir=$wrkdir --mksrc none --with-default-sys-path="$wrkdir/share/mk" $bmakexargs)"
+ run_cmd "(cd $wrkdir/bmake && $shprog configure $configure_quiet_flags --with-default-sys-path=$wrkdir/share/mk --prefix=$wrkdir $bmakexargs)"
+ run_cmd "(cd $wrkdir/bmake && $shprog make-bootstrap.sh)"
run_cmd "$install_sh -c -o $user -g $group -m 755 $wrkdir/bmake/bootstrap.$opsys/bmake $wrkdir/bin/bmake"
}
bootstrap_bmake