Subject: Re: Building openoffice2 on amd64
To: Kouichirou Hiratsuka <hira@po6.nsk.ne.jp>
From: Paul Goyette <paul@whooppee.com>
List: tech-pkg
Date: 12/26/2007 06:46:20
On Wed, 26 Dec 2007, Kouichirou Hiratsuka wrote:
>> I'm pretty much at the end of my rope now.  Joerg Sonnenberger suggested
>> (on current-users) making it link against libstdc++ instead of libsupc++
>> but I can't figure out how to make the makefiles do that.  Indeed, I
>> can't even figure out where it's getting libsupc++ in the first place.
>
> There is only one -lsupc++ in build log.  I've attached a patch for
> removing it.  I'm trying it on NetBSD/amd64 4.0.  Please try it on
> -current.
>
>  <save patch-cy to /somewhere>
>  # cd /usr/pkgsrc/misc/openoffice2
>  # vi Makefile.NetBSD.x86_64
>  <comment out USE_PKGSRC_GCC>
>  # make clean && make patch
>  # patch -d `make show-var VARNAME=WRKSRC` < /somewhere/patch-cy
>  # make
>
> If the patch works fine, I'll commit it.

Yeah, that seems to have fixed the problem.  At least the build has 
gotten well past the previous point of failure, and continues to make 
forward progress.  :)

Thanks!

----------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul@whooppee.com   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette@juniper.net |
----------------------------------------------------------------------