Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Aug 2011 20:46:24 +0000
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        <java@FreeBSD.org>
Subject:   [PATCH] libreoffice fail to built because of ant.sh
Message-ID:  <bc05ee117cd1348eb97dcf54d5ec75d9@etoilebsd.net>

next in thread | raw e-mail | index | archive | help
Hi,

the libreoffice crappy build system fails to build with java option on 
(for the 4.3.2 release).

After looking at it we find out that the problem is that the build 
system export the DATADIR env variable and then ant is not able to find 
itself in the classpath.

DATADIR is a quite common variable in build system, I think changing 
this variable name in the ant.sh.in file is the best way to fix the bug, 
because I imagine the failure with occur with every systems defining the 
DATADIR variable.

Here is a patch changing DATADIR to ANTDATADIR. Hope that is ok for 
you?

http://people.freebsd.org/~bapt/ant.sh-no-datadir.patch

Thanks,
Bapt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bc05ee117cd1348eb97dcf54d5ec75d9>