anchor.diff:  
     depsBuildBuild = [ buildPackages.stdenv.cc ];
     nativeBuildInputs = [ autoconf automake flex libxslt libtool_2 perl
  -    removeReferencesTo which yacc ];
  +    which yacc ];
   
     buildInputs = [ kerberos ncurses ];
   
     patches = [ ./bosserver.patch ./cross-build.patch ] ++ optional (tsmbac != null) ./tsmbac.patch;
   
  -  outputs = [ "out" "dev" "man" "doc" "server" ];
  +  outputs = [ "out" "dev" "man" "doc" ];
   
     enableParallelBuilding = false;
   
  
positive.code:   # binaries.
    preFixup = ''
      rm -rf "$(pwd)" && mkdir "$(pwd)"
  
      find $out -type f -exec remove-references-to -t $server '{}' '+'
    '';
  
    meta = with stdenv.lib; {
  
negative.code:       ${optionalString (tsmbac != null) "--enable-tivoli-tsm"}
        ${optionalString (ncurses == null) "--disable-gtx"}
        "--disable-linux-d_splice-alias-extra-iput"
      )
    '' + optionalString (tsmbac != null) ''
      export XBSA_CFLAGS="-Dxbsa -DNEW_XBSA -I${tsmbac}/lib64/sample -DXBSA_TSMLIB=\\\"${tsmbac}/lib64/libApiTSM64.so\\\""
  