summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorobache <obache>2010-02-06 10:28:54 +0000
committerobache <obache>2010-02-06 10:28:54 +0000
commitbf3a9971530840ffe75c0aab3192278be0cf1368 (patch)
treebd7692b47277d2548e0fe77a905c61063da09395 /bootstrap
parent63edfd05093171a517a34ccbe8bcbea80f41ced5 (diff)
downloadpkgsrc-bf3a9971530840ffe75c0aab3192278be0cf1368.tar.gz
Add Haiku support.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/bootstrap25
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