anchor.diff:        cfg=$(basename $out/bin/ncurses*-config)
   
         # symlink the full suffixed include directory
  -      rm -f $out/include/ncurses$suffix
         ln -svf . $out/include/ncurses$suffix
   
         for newsuffix in $suffixes ""; do
  
positive.code:       sed -i 's,${stdenv.shell},/bin/sh,g' $out/bin/*-config
      }
      ncursesBuild
      for file in $(find $out -type f); do
        if [ "''${GPM_FILES["$file"]}" != "1" ]; then
          NCURSES_FILES["$file"]=1
        fi
  
negative.code:     make "SHELL=${stdenv.shell}" -j $NIX_BUILD_CORES
      make "SHELL=${stdenv.shell}" -j $NIX_BUILD_CORES install
      ln -sv libgpm.so.2 $out/lib/libgpm.so
      for file in $(find $out -type l -or -type f); do
        GPM_FILES["$file"]=1
      done
      popd
  