[Libreoffice] [PATCH] Work around a bash-ism in configure.in

Mike Eberdt libreme at comcast.net
Mon Jul 18 16:07:44 PDT 2011


Hi Mike,

On 07/18/11 04:23, Michael Meeks wrote:
>
> Hi Mike,
>
> On Fri, 2011-07-15 at 12:34 -0700, Mike Eberdt wrote:
>> This patch eliminates a "test: : bad number" diagnostic on FreeBSD.
>> Contributed under LGPL3+/MPL.
>
> 	Thanks; I pushed it, and then updated it to use:
>
> if test "z$EUID" = "z0" -a "z`uname -o 2>/dev/null`" = "zCygwin"; then
>
> 	which Tor suggested IIRC - in general we don't comment previous
> problems with the code in the new, cleaned-up code - that would belong
> in the commit message :-)
>
Oops, sorry; I'll try to put comments in the right place going forward.

>
> 	Thanks for your fix ! how are we looking on FreeBSD ? :-)
>
The official FreeBSD port (currently at LO 3.3.3 + some platform-specific 
patches), builds fine.  I'm not involved in the maintenance of that port 
at all, so I don't know if an upgrade to LO 3.4.x is presenting problems 
or is even in the works.

However, I thought it would be nice (at least for casual hacking purposes) 
to be able to build LO HEAD outside of the FreeBSD Ports infrastructure, 
using the 'bootstrap' repo (the official port uses the 'build' tarball). 
That approach doesn't get far at all: it dies linking 
'registry/tools/regmerge' because it can't find one of its own shared 
libs.  I've attached build_error.log and FreeBSDAMDEnv.Set.sh in case 
someone who understands the build system wants to take a look.

My 'dmake' fu is basically non-existent, so I haven't poked at this 
seriously yet.  And as I understand it, a transition is underway to GNU 
make, so I guess I've been a bit reluctant to put a lot of time into 
learning the old build system.  However, I didn't notice any info in the 
Developers section of the Wiki about using the new build system, or 
helping with the migration, etc.  Is this something that mere mortals can 
contribute to, or should I just wait for the grand unveiling? :)

Thanx,
ME
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: FreeBSDAMDEnv.Set.sh
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110718/676bf802/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: build_error.log
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110718/676bf802/attachment-0001.asc>


More information about the LibreOffice mailing list