anchor.diff:      install_name_tool -change @rpath/libtbbmalloc.dylib $out/lib/libtbbmalloc.dylib $out/lib/libtbbmalloc_proxy.dylib
     '';
   
  +  # Validate pkgconfig files, since they break often on updates.
  +  installCheckPhase = ''
  +    pkg-config --validate $out/lib/pkgconfig/*.pc
  +  '';
  +
     # Per license agreement, do not modify the binary
     dontStrip = true;
     dontPatchELF = true;
  
positive.code:       bn=$(basename $f)
        substituteInPlace $f \
          --replace "prefix=<INSTALLDIR>/mkl" "prefix=$out" \
          --replace "lib/intel64_lin" "lib"
      done
  
  
negative.code:     else
        [ rpmextract ];
  
    installCheckInputs = [ pkgconfig ];
  
    doInstallCheck = true;
  
    buildPhase = if stdenvNoCC.isDarwin then ''
      for f in Contents/Resources/pkg/*.tgz; do
        tar xzvf $f
  