summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortcort <tcort>2013-03-11 22:48:23 +0000
committertcort <tcort>2013-03-11 22:48:23 +0000
commitd745f033e9d00c83dc525d010c92469a0b21b783 (patch)
tree761246d48e3696dcd177fc91b0e4300cd5e406d4
parentac976c38fead2e5024253eddd560aa4cca7be3c6 (diff)
downloadpkgsrc-d745f033e9d00c83dc525d010c92469a0b21b783.tar.gz
bootstrap: Minix support. OK by agc. PR pkg/45041
-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