error in the www-servers/nginx-0.6.16 ebuild makes portage install some files into bad ROOT, this is not a problem if You use standard ROOT=/ but if You set it to ROOT=/some/dir You will get files in /some/dir/some/dir Reproducible: Always Steps to Reproduce: 1.emerge =www-servers/nginx-0.6.16 2. 3.
Created attachment 136940 [details, diff] patch for ebuild This patch fixes the problem for me
fixed in 0.6.21, thank you.