diff options
author | obache <obache@pkgsrc.org> | 2010-02-06 10:28:54 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2010-02-06 10:28:54 +0000 |
commit | 0508da62d287d65d458054133759b7432560d31e (patch) | |
tree | bd7692b47277d2548e0fe77a905c61063da09395 | |
parent | 7488e29f9500b694cb6022bec4502ca75f397b1d (diff) | |
download | pkgsrc-0508da62d287d65d458054133759b7432560d31e.tar.gz |
Add Haiku support.
-rwxr-xr-x | bootstrap/bootstrap | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap index 43a5b4e66f2..9b5643f9691 100755 --- a/bootstrap/bootstrap +++ b/bootstrap/bootstrap @@ -1,6 +1,6 @@ #! /bin/sh -# $NetBSD: bootstrap,v 1.155 2010/02/06 05:54:17 obache Exp $ +# $NetBSD: bootstrap,v 1.156 2010/02/06 10:28:54 obache Exp $ # # # Copyright (c) 2001-2002 Alistair G. Crooks. All rights reserved. @@ -239,6 +239,10 @@ opsys_finish() echo "LDD= $prefix/sbin/fakeldd" >> ${TARGET_MKCONF} fi ;; + Haiku) + need_extras=yes + echo "LDD= $prefix/sbin/fakeldd" >> ${TARGET_MKCONF} + ;; esac } @@ -506,6 +510,25 @@ FreeBSD) set_opsys=no machine_arch=`uname -p` ;; +Haiku) + root_user=user + root_group=root + need_bsd_install=no + need_awk=no + need_sed=no + set_opsys=no + case `uname -m` in + BeMac) + machine_arch=powerpc + ;; + BePC) + machine_arch=i386 + ;; + *) + machine_arch=`uname -p` + ;; + esac + ;; HPUX) root_group=sys need_bsd_install=yes |