diff options
Diffstat (limited to 'devel/bmake/files/machine.sh')
-rwxr-xr-x | devel/bmake/files/machine.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/bmake/files/machine.sh b/devel/bmake/files/machine.sh index ecc269cc4e2..774a289de11 100755 --- a/devel/bmake/files/machine.sh +++ b/devel/bmake/files/machine.sh @@ -2,7 +2,7 @@ # derrived from /etc/rc_d/os.sh # RCSid: -# $Id: machine.sh,v 1.1.1.5 2015/05/19 21:36:44 joerg Exp $ +# $Id: machine.sh,v 1.1.1.6 2020/05/24 05:35:52 nia Exp $ # # @(#) Copyright (c) 1994-2002 Simon J. Gerraty # @@ -44,6 +44,12 @@ Which() { } case $OS in +AIX) # from http://gnats.netbsd.org/29386 + OSMAJOR=`uname -v` + OSMINOR=`uname -r` + MACHINE=$OS$OSMAJOR.$OSMINOR + MACHINE_ARCH=`bootinfo -T` + ;; OpenBSD) MACHINE=$OS$OSMAJOR.$machine arch=`Which arch /usr/bin:/usr/ucb:$PATH` |