mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +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() {
|
buildPhase() {
|
||||||
source LinuxX86*Env.Set.sh
|
source LinuxX86*Env.Set.sh
|
||||||
./bootstrap
|
./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() {
|
wrapSOffice() {
|
||||||
@ -57,6 +58,7 @@ installPhase() {
|
|||||||
ooFiles=$out/lib/openoffice
|
ooFiles=$out/lib/openoffice
|
||||||
|
|
||||||
# This was all borrowed from ooo-build-2.2.1's bin/ooinstall.
|
# 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)
|
eval $(grep 'BUILD\|LAST_MINOR' $SOLARENV/inc/minor.mk)
|
||||||
export PYTHONPATH=$SOLARVERSION/$INPATH/lib:$SRC_ROOT/instsetoo_native/$INPATH/bin:$PYTHONPATH
|
export PYTHONPATH=$SOLARVERSION/$INPATH/lib:$SRC_ROOT/instsetoo_native/$INPATH/bin:$PYTHONPATH
|
||||||
export OUT=../$INPATH
|
export OUT=../$INPATH
|
||||||
|
@ -67,11 +67,6 @@ stdenv.mkDerivation rec {
|
|||||||
--without-system-graphite
|
--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";
|
LD_LIBRARY_PATH = "${libXext}/lib:${libX11}/lib:${libXtst}/lib:${libXi}/lib:${libjpeg}/lib";
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
Loading…
Reference in New Issue
Block a user