Per my ongoing discussion with PeterE, here is the patch I applied to
src/template/unixware:

cvs diff: Diffing .
Index: unixware
===================================================================
RCS file: /cvsroot/pgsql-snap/src/template/unixware,v
retrieving revision 1.1.1.1
diff -c -r1.1.1.1 unixware
*** unixware	2000/10/21 13:35:54	1.1.1.1
--- unixware	2000/10/21 13:49:45
***************
*** 1,6 ****
  AROPT=crs
! CFLAGS='-O -K i486,host,inline,loop_unroll,alloca -Dsvr4'
  SHARED_LIB='-K PIC'
  SRCH_INC='/opt/include'
  SRCH_LIB='/opt/lib'
  DLSUFFIX=.so
--- 1,8 ----
  AROPT=crs
! CFLAGS='-O -K host,inline,loop_unroll,alloca -Dsvr4'
  SHARED_LIB='-K PIC'
  SRCH_INC='/opt/include'
  SRCH_LIB='/opt/lib'
  DLSUFFIX=.so
+ CC=cc
+ CXX=CC

-- 
Larry Rosenman                      http://www.lerctr.org/~ler
Phone: +1 972-414-9812 (voice) Internet: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

Sat, 21 Oct 2000 09:14:27 -0500
Larry Rosenman <ler@lerctr.org>
quickie patch to UnixWare Template
Applied.  Thanks.


> Per my ongoing discussion with PeterE, here is the patch I applied to
> src/template/unixware:
> 
> cvs diff: Diffing .
> Index: unixware
> ===================================================================
> RCS file: /cvsroot/pgsql-snap/src/template/unixware,v
> retrieving revision 1.1.1.1
> diff -c -r1.1.1.1 unixware
> *** unixware	2000/10/21 13:35:54	1.1.1.1
> --- unixware	2000/10/21 13:49:45
> ***************
> *** 1,6 ****
>   AROPT=crs
> ! CFLAGS='-O -K i486,host,inline,loop_unroll,alloca -Dsvr4'
>   SHARED_LIB='-K PIC'
>   SRCH_INC='/opt/include'
>   SRCH_LIB='/opt/lib'
>   DLSUFFIX=.so
> --- 1,8 ----
>   AROPT=crs
> ! CFLAGS='-O -K host,inline,loop_unroll,alloca -Dsvr4'
>   SHARED_LIB='-K PIC'
>   SRCH_INC='/opt/include'
>   SRCH_LIB='/opt/lib'
>   DLSUFFIX=.so
> + CC=cc
> + CXX=CC
> 
> -- 
> Larry Rosenman                      http://www.lerctr.org/~ler
> Phone: +1 972-414-9812 (voice) Internet: ler@lerctr.org
> US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
> 


-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Sat, 21 Oct 2000 11:41:49 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: quickie patch to UnixWare Template
That may be premature, it still doesn't build, but it's probably the 
right answer when we fix the rest of it. 

LER

* Bruce Momjian <pgman@candle.pha.pa.us> [001021 10:42]:
> Applied.  Thanks.
> 
> 
> > Per my ongoing discussion with PeterE, here is the patch I applied to
> > src/template/unixware:
> > 
> > cvs diff: Diffing .
> > Index: unixware
> > ===================================================================
> > RCS file: /cvsroot/pgsql-snap/src/template/unixware,v
> > retrieving revision 1.1.1.1
> > diff -c -r1.1.1.1 unixware
> > *** unixware	2000/10/21 13:35:54	1.1.1.1
> > --- unixware	2000/10/21 13:49:45
> > ***************
> > *** 1,6 ****
> >   AROPT=crs
> > ! CFLAGS='-O -K i486,host,inline,loop_unroll,alloca -Dsvr4'
> >   SHARED_LIB='-K PIC'
> >   SRCH_INC='/opt/include'
> >   SRCH_LIB='/opt/lib'
> >   DLSUFFIX=.so
> > --- 1,8 ----
> >   AROPT=crs
> > ! CFLAGS='-O -K host,inline,loop_unroll,alloca -Dsvr4'
> >   SHARED_LIB='-K PIC'
> >   SRCH_INC='/opt/include'
> >   SRCH_LIB='/opt/lib'
> >   DLSUFFIX=.so
> > + CC=cc
> > + CXX=CC
> > 
> > -- 
> > Larry Rosenman                      http://www.lerctr.org/~ler
> > Phone: +1 972-414-9812 (voice) Internet: ler@lerctr.org
> > US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
> > 
> 
> 
> -- 
>   Bruce Momjian                        |  http://candle.pha.pa.us
>   pgman@candle.pha.pa.us               |  (610) 853-3000
>   +  If your life is a hard drive,     |  830 Blythe Avenue
>   +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
-- 
Larry Rosenman                      http://www.lerctr.org/~ler
Phone: +1 972-414-9812 (voice) Internet: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
Sat, 21 Oct 2000 10:43:54 -0500
Larry Rosenman <ler@lerctr.org>
Re: quickie patch to UnixWare Template