pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/bootstrap Add support for UnixWare



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3e1d63ae125c
branches:  trunk
changeset: 472495:3e1d63ae125c
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Sun Apr 11 03:17:12 2004 +0000

description:
Add support for UnixWare

diffstat:

 bootstrap/bootstrap |  19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diffs (42 lines):

diff -r 37b64c15dba0 -r 3e1d63ae125c bootstrap/bootstrap
--- a/bootstrap/bootstrap       Sun Apr 11 03:16:36 2004 +0000
+++ b/bootstrap/bootstrap       Sun Apr 11 03:17:12 2004 +0000
@@ -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 @@
        # 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 @@
        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)"
 



Home | Main Index | Thread Index | Old Index