The EXAMPLES section of getopt specifies "/usr/local/lib/getopt or /usr/lib/getopt" as the location for example scripts when it should be "/usr/share/getopt".
*** Bug 200025 has been marked as a duplicate of this bug. ***
Created attachment 136709 [details] new ebuild ebuild to patch getopt/getopt.1
Created attachment 136710 [details, diff] patch for getopt man file patch for getopt man file
Created attachment 136715 [details, diff] Updated patch (corrected -p level)
thanks, this has been fixed upstream