Trying to fix the build of openoffice 3.2.0

svn path=/nixpkgs/trunk/; revision=21880
This commit is contained in:
Lluís Batlle i Rossell 2010-05-19 16:46:48 +00:00
parent e283f86174
commit 0ff12ea30b
2 changed files with 3 additions and 6 deletions

View File

@ -33,7 +33,8 @@ postConfigure() {
buildPhase() {
source LinuxX86*Env.Set.sh
./bootstrap
dmake # wait a few hours...
# bootstrap defines the alias 'build', that mostly runs this perl script:
(cd instsetoo_native; perl ../solenv/bin/build.pl --all) # wait a few hours... add -P4 for quadcores
}
wrapSOffice() {
@ -57,6 +58,7 @@ installPhase() {
ooFiles=$out/lib/openoffice
# This was all borrowed from ooo-build-2.2.1's bin/ooinstall.
# This needs the ./bootstrap having run in the buildPhase to get some env vars.
eval $(grep 'BUILD\|LAST_MINOR' $SOLARENV/inc/minor.mk)
export PYTHONPATH=$SOLARVERSION/$INPATH/lib:$SRC_ROOT/instsetoo_native/$INPATH/bin:$PYTHONPATH
export OUT=../$INPATH

View File

@ -67,11 +67,6 @@ stdenv.mkDerivation rec {
--without-system-graphite
";
# Double make - I don't know why a single make reports error, and two, do not.
buildPhase = ''
make || make
'';
LD_LIBRARY_PATH = "${libXext}/lib:${libX11}/lib:${libXtst}/lib:${libXi}/lib:${libjpeg}/lib";
buildInputs = [