mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
Trying to fix the build of openoffice 3.2.0
svn path=/nixpkgs/trunk/; revision=21880
This commit is contained in:
parent
e283f86174
commit
0ff12ea30b
@ -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
|
||||
|
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user