diff options
author | heinz <heinz@pkgsrc.org> | 2004-04-11 03:17:12 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2004-04-11 03:17:12 +0000 |
commit | 9b0383bdda44071e37513b9ef981765c86c65de5 (patch) | |
tree | b346a7fe62a5588989bb10543d10cdfda22d574e /bootstrap | |
parent | 6d91e1199be83ba628e2b227d91a3cfecdca87de (diff) | |
download | pkgsrc-9b0383bdda44071e37513b9ef981765c86c65de5.tar.gz |
Add support for UnixWare
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap/bootstrap | 19 |
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)" |