anchor.diff:  end
   f:write(S[=[
   site_config.LUAROCKS_UNAME_M=[[$UNAME_M]]
  -site_config.LUAROCKS_SYSCONFIG=[[$SYSCONFDIR\config-$LUA_VERSION.lua]]
  +site_config.LUAROCKS_SYSCONFIG=[[$SYSCONFDIR\$SYSCONFFILENAME]]
   site_config.LUAROCKS_ROCKS_TREE=[[$TREE_ROOT]]
   site_config.LUAROCKS_PREFIX=[[$PREFIX]]
   site_config.LUAROCKS_DOWNLOADER=[[wget]]
  
positive.code: 
  Will configure LuaRocks with the following paths:
  LuaRocks        : $FULL_PREFIX
  Config file     : $SYSCONFDIR\config.lua
  Rocktree        : $TREE_ROOT
  
  Lua interpreter : $LUA_BINDIR\$LUA_INTERPRETER
  
negative.code: vars.LUADIR = S"$FULL_PREFIX\\lua"
  vars.INCDIR = S"$FULL_PREFIX\\include"
  vars.LUA_SHORTV = vars.LUA_VERSION:gsub("%.", "")
  vars.SYSCONFFILENAME = S"config-$LUA_VERSION.lua"
  
  if INSTALL_LUA then
  	if vars.LUA_VERSION ~= "5.1" then
  