pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc mk/bootstrap: Fix bits for SCO UnixWare 7.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b413e7aaf218
branches:  trunk
changeset: 769336:b413e7aaf218
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Nov 12 20:29:05 2021 +0000

description:
mk/bootstrap: Fix bits for SCO UnixWare 7.

Derived from a patch from Boyd Lynn Gerber.

diffstat:

 bootstrap/bootstrap |   3 ++-
 mk/bsd.prefs.mk     |  10 +++++++++-
 2 files changed, 11 insertions(+), 2 deletions(-)

diffs (50 lines):

diff -r 45829b644d6b -r b413e7aaf218 bootstrap/bootstrap
--- a/bootstrap/bootstrap       Fri Nov 12 20:14:31 2021 +0000
+++ b/bootstrap/bootstrap       Fri Nov 12 20:29:05 2021 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: bootstrap,v 1.302 2021/07/13 12:43:58 schmonz Exp $
+# $NetBSD: bootstrap,v 1.303 2021/11/12 20:29:05 nia Exp $
 #
 # Copyright (c) 2001-2011 Alistair Crooks <agc%NetBSD.org@localhost>
 # All rights reserved.
@@ -835,6 +835,7 @@
        need_awk=yes
        need_sed=yes
        whoamiprog=/usr/ucb/whoami
+       machine_arch=`uname -m`
        CC="gcc -DUNIXWARE"; export CC
        ;;
 *)
diff -r 45829b644d6b -r b413e7aaf218 mk/bsd.prefs.mk
--- a/mk/bsd.prefs.mk   Fri Nov 12 20:14:31 2021 +0000
+++ b/mk/bsd.prefs.mk   Fri Nov 12 20:29:05 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.410 2021/11/02 08:14:58 nia Exp $
+# $NetBSD: bsd.prefs.mk,v 1.411 2021/11/12 20:29:05 nia Exp $
 #
 # This file includes the mk.conf file, which contains the user settings.
 #
@@ -285,6 +285,12 @@
 OS_VARIANT=            SCOOSR6
 .  endif
 
+.elif ${OPSYS} == "UnixWare"
+SCO_RELEASE?=          sysv5${OPSYS}
+SCO_VERSION!=          ${UNAME} -v
+LOWER_VENDOR?=         unknown
+LOWER_OPSYS_VERSUFFIX= ${SCO_RELEASE}${SCO_VERSION}
+
 .elif ${OPSYS} == "Minix"
 LOWER_VENDOR?=         unknown
 LOWER_OPSYS:=          ${OPSYS:tl}
@@ -362,6 +368,8 @@
 OBJECT_FMT=    PE
 .elif ${OPSYS} == "SCO_SV"
 OBJECT_FMT=    ELF
+.elif ${OPSYS} == "UnixWare"
+OBJECT_FMT=    ELF
 .endif
 
 # Calculate depth



Home | Main Index | Thread Index | Old Index