fix build on SunOS (Sparc)

R=rsc
CC=codebot
http://codereview.appspot.com/882044
This commit is contained in:
Arvindh Rajesh Tamilmani 2010-04-09 15:28:16 -07:00 committed by Russ Cox
parent f50c3e956f
commit 80c90f271e
5 changed files with 13 additions and 1 deletions

View file

@ -6,6 +6,7 @@
Albert Lee <trisk@acm.jhu.edu>
André Günther <Andre.G@gmx.de>
Anthony Sorace <a@9srv.net>
Arvindh Rajesh Tamilmani <art@a-30.net>
Benjamin Huntsman <BHuntsman@mail2.cu-portland.edu>
Enrique Soriano <enrique.soriano@gmail.com>
Eoghan Sherry <ejsherry@gmail.com>

10
INSTALL
View file

@ -21,6 +21,14 @@ esac
PLAN9=`pwd` export PLAN9
PATH=/bin:/usr/bin:$PLAN9/bin:$PATH export PATH
case `uname` in
SunOS)
awk=nawk
;;
*)
awk=awk
;;
esac
echo "+ Mailing list: http://groups.google.com/group/plan9port-dev"
echo "+ Issue tracker: http://code.swtch.com/plan9port/issues/"
@ -123,5 +131,5 @@ if $doinstall; then
echo " PLAN9=$PLAN9 export PLAN9"
echo ' PATH=$PATH:$PLAN9/bin export PATH'
fi
) 2>&1 | tee install.log | awk -f $PLAN9/dist/isum.awk -v 'copy='install.sum
) 2>&1 | tee install.log | $awk -f $PLAN9/dist/isum.awk -v 'copy='install.sum

1
dist/buildmk vendored
View file

@ -14,5 +14,6 @@ OBJTYPE=`uname -m -p | sed '
s;.*ppc64.*;power;g;
s;.*ppc.*;power;g;
s;.*alpha.*;alpha;g;
s;.*sun4u.*;sun4u;g;
'` export OBJTYPE
sh -x mkmk.sh

View file

@ -6,6 +6,7 @@
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xatom.h>
#include <X11/keysym.h>
#include <X11/extensions/shape.h>
#include "dat.h"
#include "fns.h"

View file

@ -12,6 +12,7 @@ OBJTYPE=`uname -m -p | sed '
s;.*ppc64.*;power;g;
s;.*ppc.*;power;g;
s;.*alpha.*;alpha;g;
s;.*sun4u.*;sun4u;g;
'`
BIN=$PLAN9/bin