[PATCH] libreoffice fail to built because of ant.sh

Baptiste Daroussin bapt at FreeBSD.org
Tue Aug 16 21:02:23 UTC 2011


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


More information about the freebsd-java mailing list