Subject: Re: Building openoffice2 on amd64
To: None <darcy@NetBSD.org>
From: Kouichirou Hiratsuka <hira@po6.nsk.ne.jp>
List: current-users
Date: 12/25/2007 02:20:20
Hello,
(please send to pkgsrc-users@ instead of current-users@)

At Mon, 24 Dec 2007 08:58:33 -0500,
D'Arcy J.M. Cain wrote:
> On Mon, 24 Dec 2007 19:48:55 +0900
> Kouichirou Hiratsuka <hira@po6.nsk.ne.jp> wrote:
> > I've fixed libXinerama.  On NetBSD/amd64 the package still cannot be
> > compiled with gcc-4.  Please try:
> > 
> >   # cd /usr/src/gnu/lib/libsupc++4
> >   # make CFLAGS+="-fPIC" && make install
> >   # cd /usr/pkgsrc/misc/openoffice2 && make
> 
> Interesting.  I built OO after your last patch (patch-ab) just fine
> without doing that.

It's needed with gcc-4.  It fixes build error noted in
Makefile.NetBSD.x86_64.  The error happens with NetBSD's libsupc++.a.
Therefore this package uses gcc-3.4.6 for compiling.

My last commit fixed same error with libXinerama.a by using
libXinerama.so.

best regards.
-- 
 Kouichirou Hiratsuka
   hira@po6.nsk.ne.jp