summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authortcort <tcort@pkgsrc.org>2013-03-11 22:48:23 +0000
committertcort <tcort@pkgsrc.org>2013-03-11 22:48:23 +0000
commit4b7d5655da94f1aab985d9881c84765ac236d442 (patch)
tree761246d48e3696dcd177fc91b0e4300cd5e406d4 /bootstrap
parentdd79ab6ebf4525e2446a527a83e1dc9786fb4068 (diff)
downloadpkgsrc-4b7d5655da94f1aab985d9881c84765ac236d442.tar.gz
bootstrap: Minix support. OK by agc. PR pkg/45041
Diffstat (limited to 'bootstrap')
-rw-r--r--bootstrap/README.Minix38
-rwxr-xr-xbootstrap/bootstrap11
2 files changed, 18 insertions, 1 deletions
diff --git a/bootstrap/README.Minix3 b/bootstrap/README.Minix3
new file mode 100644
index 00000000000..a7e5af953fb
--- /dev/null
+++ b/bootstrap/README.Minix3
@@ -0,0 +1,8 @@
+$NetBSD: README.Minix3,v 1.1 2013/03/11 22:48:23 tcort Exp $
+
+Please read the general README file as well.
+
+==========================================================================
+
+Most users will not need to run the bootstrap script as all supported
+versions of Minix3 come with pkgsrc pre-bootstrapped.
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index 554ca279d4f..c9e508a2a81 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.190 2013/02/22 13:39:31 obache Exp $
+# $NetBSD: bootstrap,v 1.191 2013/03/11 22:48:23 tcort Exp $
#
# Copyright (c) 2001-2011 Alistair Crooks <agc@NetBSD.org>
# All rights reserved.
@@ -625,6 +625,15 @@ Linux)
set_opsys=no
machine_arch=`uname -m | sed -e 's/i.86/i386/'`
;;
+Minix)
+ root_group=operator
+ need_bsd_install=yes
+ need_awk=no
+ need_sed=no
+ set_opsys=no
+ machine_arch=`uname -p`
+ LDFLAGS="-lcompat_minix -lminlib"
+ ;;
MirBSD)
root_group=wheel
need_pax=yes