anchor.diff:      sha256 = "04hvlj6wzbj3zjpfjq975mgdmf902ywyf94nxcv067asg83qfcvr";
     };
   
  +  # Openoffice will open libcups dynamically, so we link it directly
  +  # to make its dlopen work.
  +  NIX_LDFLAGS = "-lcups";
  +
  +  # If we call 'configure', 'make' will then call configure again without parameters.
  +  # It's their system.
     configureScript = "./autogen.sh";
   
     preConfigure = ''
  
positive.code: , icu, boost, jdk, ant, libXext, libX11, libXtst, libXi, cups
  , libXinerama, openssl, gperf, cppunit, GConf, ORBit2, poppler
  , librsvg, gnome_vfs, gstreamer, gst_plugins_base, mesa
  , autoconf, automake, openldap, bash, makeWrapper
  , fontsConf
  , langs ? [ "ca" "ru" "eo" "fr" "nl" "de" "en-GB" ]
  }:
  
negative.code:     mkdir -p $out/bin
      for a in sbase scalc sdraw smath swriter spadmin simpress soffice; do
        ln -s $out/lib/libreoffice/program/$a $out/bin/$a
      done
    '';
  
  