anchor.diff:      unset LD_LIBRARY_PATH
     '';
   
  +  # TODO: it seems like absolute paths to some coreutils is required.
     postInstall =
       ''
         # Remove dependency between "out" and "man" outputs.
  -      rm $out/lib/perl5/*/*/.packlist
  +      rm "$out"/lib/perl5/*/*/.packlist
   
  -      # Remove dependencies on glibc.dev and coreutils.
  -      substituteInPlace $out/lib/perl5/*/*/Config_heavy.pl \
  -        --replace ${stdenv.glibc.dev or "/blabla"} /no-such-path \
  -        --replace $man /no-such-path
  +      # Remove dependencies on glibc and gcc
  +      sed "/ *libpth =>/c    libpth => ' '," \
  +        -i "$out"/lib/perl5/*/*/Config.pm
  +      # TODO: removing those paths would be cleaner than overwriting with nonsense.
  +      substituteInPlace "$out"/lib/perl5/*/*/Config_heavy.pl \
  +        --replace "${libcInc}" /no-such-path \
  +        --replace "${stdenv.cc.cc or "/no-such-path"}" /no-such-path \
  +        --replace "$man" /no-such-path
       ''; # */
   
     meta = {
  
positive.code: 
    enableParallelBuilding = true;
  
    preConfigure =
      ''
  
        configureFlags="$configureFlags -Dprefix=$out -Dman1dir=$out/share/man/man1 -Dman3dir=$out/share/man/man3"
  
        ${optionalString stdenv.isArm ''
          configureFlagsArray=(-Dldflags="-lm -lrt")
        ''}
      '' + optionalString stdenv.isDarwin ''
        substituteInPlace hints/darwin.sh --replace "env MACOSX_DEPLOYMENT_TARGET=10.3" ""
      '' + optionalString (!enableThreading) ''
  
negative.code:       "-Uinstallusrbinperl"
        "-Dinstallstyle=lib/perl5"
        "-Duseshrplib"
        "-Dlocincpth=${libcInc}/include"
        "-Dloclibpth=${libcLib}/lib"
      ]
      ++ optional enableThreading "-Dusethreads";
  
  