summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorheinz <heinz>2004-04-11 03:17:12 +0000
committerheinz <heinz>2004-04-11 03:17:12 +0000
commit71be8017dc77938b827478abda58a7a4f5463c84 (patch)
treeb346a7fe62a5588989bb10543d10cdfda22d574e /bootstrap
parentdebedb395bb7dc49e9f0ad18c2a38f083e6c2841 (diff)
downloadpkgsrc-71be8017dc77938b827478abda58a7a4f5463c84.tar.gz
Add support for UnixWare
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/bootstrap19
1 files changed, 18 insertions, 1 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index 2878e45129e..9039bf038af 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.11 2004/04/07 12:05:37 jmmv Exp $
+# $NetBSD: bootstrap,v 1.12 2004/04/11 03:17:12 heinz Exp $
#
#
# Copyright (c) 2001-2002 Alistair G. Crooks. All rights reserved.
@@ -306,6 +306,18 @@ Interix)
# for bootstrap only; pkgsrc uses CPPFLAGS
CC="gcc -D_ALL_SOURCE"; export CC
;;
+UnixWare)
+ root_group=sys
+ need_pax=yes
+ need_mtree=yes
+ need_bsd_install=no
+ BSTRAP_ENV="INSTALL=/usr/ucb/install $BSTRAP_ENV"
+ need_mkdir=yes
+ need_sed=yes
+ whoamiprog=/usr/ucb/whoami
+ set_opsys=no
+ CC="gcc -DUNIXWARE"; export CC
+ ;;
*)
echo "This platform ($opsys) is untried - good luck, and thanks for using pkgsrc"
root_group=wheel
@@ -506,6 +518,11 @@ if [ "$need_fixed_strip" = "yes" ] ; then
run_cmd "(cd files; $shprog ./install-sh -c -o $user -g $group -m 755 strip-sh $prefix/bin/strip)"
fi
+if [ "$need_mkdir" = "yes" ]; then
+ echo_msg "Installing fixed mkdir script \"mkdir-p.sh\""
+ run_cmd "(cd files; $shprog ./install-sh -c -o $user -g $group -m 755 mkdir-p.sh $prefix/sbin/mkdir-p.sh)"
+fi
+
echo_msg "Installing bmake"
run_cmd "(cd $wrkdir/bmake; $shprog ./configure --prefix=$prefix --with-default-sys-path=$prefix/share/mk $configargs && make -f makefile.boot bootstrap && env BINDIR=$prefix/bin MANDIR=$prefix/man $BSTRAP_ENV ./bmake -f Makefile install)"